Skip to main content

ASP.Net GridView Edit Update Dropdownlist Values using C#

Edit or Update command of GridView control provides the functionality to change the GridView mode from read only view to edit mode and then update the new selected value of DropdownList into the SQL Database table. You can use the C# FindControl method to get the reference of nested Dropdownlist control that enables you to get the new selectedvalue and save it into the database table.
Command Events Used

1. OnRowEditing

2. OnRowCancelingEdit

3. OnRowUpdating
GridView Property Used

1. DataKeys
C# Method Used

1. FindControl





http://programming.top54u.com/post/Edit-Update-GridView-DropDownList-SelectedValue.aspx

Comments

Popular posts from this blog