VB.Net GridView Edit Update Dropdownlist Values in ASP.Net

Edit and Update commands of ASP.Net GridView control provide 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 using VB.Net server side code. You can use the VB.Net FindControl method to get the reference object 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

 

VB.Net Method Used

1. FindControl

OrderIDOrder StatusEdit/Update
1 Edit
2 Edit
3 Edit
4 Edit
  • HIRE EzineASP.Net Developers