Hi
In my project i have a small doubt .I have one page in that page i have 20 buttons only buttons i have and i created gridview if i click one button that button have to retrive the data from the gridview it have to display that row only.
suppose buttons names i'm writing
button1 button2
Photo Laminations Metal Frames ........ when i click button lamination it have to retrive the that photolamination data from the gridview and it have to display if i click the another button that data also have to add to that table plz help me guys
Loading

Syed ShanuRank #87 · 23.7K reputationPosted Mar 18, 2015, 9:03 PM EDT
Khargesh RajputRank #616 · 3.9K reputationPosted Mar 18, 2015, 10:42 PM EDT
Parameswari bera19 reputationPosted Mar 18, 2015, 11:14 PM EDT
Sno Category Size Quantity UnitPrice
This is the my table now if i click one button it have to show. Like this
Sno Category Size Quantity UnitPrice
1 Photo lamination 8*10 2 600
And if i click next button tha data also added to that table like this
Sno Category Size Quantity UnitPrice
1 Photo lamination 8*10 2 600 2 Metal Frame 8*10 3 800 Please help me guys
Khargesh RajputRank #616 · 3.9K reputationPosted Mar 18, 2015, 11:58 PM EDT
Parameswari bera19 reputationPosted Mar 19, 2015, 12:12 AM EDT
Khargesh RajputRank #616 · 3.9K reputationPosted Mar 19, 2015, 1:08 AM EDT
You need to use dropdown list instead of 25 buttons and bind gridview based on selectedvalue on selected indexchnge
but if you are using 25 buttons then you can filter datatable which is binding gridview
on filter query select from datatable where category=button.text
Parameswari bera19 reputationPosted Mar 19, 2015, 3:50 AM EDT