L
Lou Civitella
I have a asp page that has 3 list boxes on it and one combo box. When the
user selects an item from each of the list boxes it automatically shows the
data in a Grid View. I can select different items from each list box and the
grid view will be filtered. I want to be able to have the combo box be used
in the filtering of the grid view but I have a problem with it. The combo
box list different types plus listed at the top it lists 'ALL'
I want to be able to change the data source of the grid view based upon what
the user selects in the combo box. If they select 'All' I want them to see
all the items but if they select a specific item in the list I want the grid
view to only show those values that match.
How do I do something like an item statement to change the data source of
the grid view based upon the combo box values?
Thanks,
Lou
Also in the grid view how can I format a curreny column to only show 2
decimal places?
user selects an item from each of the list boxes it automatically shows the
data in a Grid View. I can select different items from each list box and the
grid view will be filtered. I want to be able to have the combo box be used
in the filtering of the grid view but I have a problem with it. The combo
box list different types plus listed at the top it lists 'ALL'
I want to be able to change the data source of the grid view based upon what
the user selects in the combo box. If they select 'All' I want them to see
all the items but if they select a specific item in the list I want the grid
view to only show those values that match.
How do I do something like an item statement to change the data source of
the grid view based upon the combo box values?
Thanks,
Lou
Also in the grid view how can I format a curreny column to only show 2
decimal places?