Hi,
I have a web form which pulls data from database based on the value selected from a dropdown(webcombo). The data(a single row) is displayed on the grid. The user wants to select another value from the dropdown and this should be displayed on the grid along with the previous row. How can I go about this?
Thanks,
Junaid.
Hello Junaid,
This is something that I think needs to be handled on the application level, rather than in the grid per se. You would probably need to have an ADO.NET DataTable with the rows as they are being added stored in session and then databind the grid to that DataTable directly.
Thanks Rumen Stankov
I used a session variable to store the primary key in the table and populated the grid based on the values selected by the user from the dropdown.
Thanks a lot.