Hi,
I have a Webusercontrol which is used as edit form template. This Webusercontrol is used to Insert and update records into my grid.
I am having a dropdownlist in this Webusercontrol. The data source for this dropdownlist is a datatable from the database.
Now the problem is that i am able to insert a new record by selecting a value from the dropdownlist.
But when i want to update the record, the dropdown is displayed with the initial value in the dropdown and not the value that i inserted.Please find my code below.
ASCX:
<asp:dropdownlist ...
Go to the complete details ...