Click here to Skip to main content
15,503,884 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i am new to asp.net.how can i filter the data in dataset using dropdown selection in vs 2008 without using data view and data table.
Posted

1 solution

DataSet cannot exist without DataTable, infact, what you put in a DataSet actually goes into DataTable(s). If you want to filter data in a dataset, you would have to go via the DataTable.

Alternative is, to copy the data to a List<> from a dataset everytime you want to filter, filter the list and put the data back into the data set. Unfortunately, for an incomplete question like that, this is the best i can do. Unless, you improve the question ("using dropdown" bit specifically) in which case i will improve my suggestion.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900