Update gridview row rowupdating event in asp net
One note will be helpful for you, while describing Columns in Grid View if you are using a boundfield then create objects of the control using cells[index] in the rowupdateing event of Grid View, but if you are using controls itself like Label or textboxes etc then use Fincontrol("stringid").Good afternoon, I have a grid View that is populated with a dataset from an Oracle Database.
Nor does it represent the opinion of my dog, because I don’t have one.The below is my connection string which is stored in web.config file. If you are using my database, just copy and paste the code or use the attached application.You can change this connection string according to your SQL server database setting. If you want use my database file then attach that file. If you are using your database, you need to replace column binding with your database table columns.This collection only requires the row index no and it will give us the primary key.Last line of the following code is calling a local method for updating the database and passing all the parameters to this method.