Hi,
I am Creating a WebPart where I need to Add new Rows to a GridView Dynamically. I am able to do this at the moment, but my problem is that this GridView has a DropDown List, which gets its data from SQL Server Table.
When ever I add a new row to the gird it does a post back and the selection in the previous dropdown list row changes to the default/goes back to the first item.
Can someone share some code that, lets me keep the previous selection in the dropdown list and add a new row to the gird. Thanks.
Regards, Vikram