Hai,
i want to retrieve the records from a sql table in a category wise and display them it in a grid view.
Thank u,
I want to display the data in a grid view in a category wise
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Krishna GaradRank #191 · 12.8K reputationPosted Jan 3, 2011, 2:48 AM EST
CrishRank #1,487 · 1.1K reputationPosted Jan 3, 2011, 5:26 AM EST
just select all the data and make category wise ASC order in stored procedure and bind data to gridview.
Sam HobbsRank #107 · 20.5K reputationPosted Jan 3, 2011, 11:38 AM EST
There are many ways to do this. One way is to bind your DataGridView and a combobox to your data, and when a new selection is made in the combobox, set the data sources's filter to the new value.