Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Define a filter based on record value

Reply
Thread Tools

Define a filter based on record value

 
 
PaulNaude
Guest
Posts: n/a
 
      10-17-2005
I have a datagrid with two columns visible, both being dropdown boxes linked
to other tables.

Is it possible to filter the datasource of the second column, based on the
value chosen in the first column?



 
Reply With Quote
 
 
 
 
Elton Wang
Guest
Posts: n/a
 
      10-17-2005
Hi Paul,

Yes. You can set datasource of the second column besed on value chosen in
the first column in datagrid_ItemDataBound event.

HTH


"PaulNaude" <> wrote in message
news:FB07691C-B81F-4E08-94B8-...
>I have a datagrid with two columns visible, both being dropdown boxes
>linked
> to other tables.
>
> Is it possible to filter the datasource of the second column, based on the
> value chosen in the first column?
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About typedef -- define the function pointer or define function model? robin liu C Programming 3 04-21-2006 03:26 PM
#define _ and #define __ Brian Takita Ruby 0 01-23-2006 04:34 AM
Can I filter a list based on Profile Value Doownai ASP .Net Security 1 11-23-2005 11:51 PM
Easy one - How do I filter a datagrid based on textbox value? RockNRoll ASP .Net 1 08-02-2004 09:21 PM
How to define a define that defines some defines ? theotyflos C Programming 3 02-19-2004 05:07 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57