My guess is that I am not using the correct VB to retrieve the value from the dropdown list.
I've commented out the VB options that haven't worked and included them here as I've spent too long trying to figure it out. Looks like you are binding the grid in the Page Load. Please add the below code in Page Load before binding the grid..
In data driven web sites, users are normally allowed to view data and administrators are allowed to add, edit or delete data.
In this tutorial I will show you how you can create an editable Grid View control for administrators to modify database records directly into the Grid View control.
When I go to edit the column, the drop down list appears correctly.
When I go to update the value in the row, the value returns blank/null.
I am using Template Field’s Item Template and Edit Item Template for providing read only and editing interface of the same column in the Grid View.
However, he/she did not identify the correct coding in the gridview (which could not have been forseen).In my last post, I included what I am currently using which is a little more complex than the initial question.The visitors to a web site can typically be divided into two groups: the users and the administrators.If user clicks the Cancel button while Grid View is in editing mode, you need to Cancel the Editing process and also need to reset the Edit Index property to -1 in the Row Canceling Edit event of the Grid View control as shown below: The last step is to handle the Row Updating event to actually update the back end database.To do this we first need to obtain the reference of the current row by using its index no as shown in the first line below.In the Page_Load event, you simply load your data from the database and bind it with the Grid View control as shown below: For brevity I am not storing connection string in the web.config and also not using any Data Access Component.