You didn't ask this in your question, but you've written some smelly code here.I'll try to address your question, but I'm also going through some of the other problems here.
Without seeing your markup, it's hard for me to tell if you've created .
Although this isn't as big of a problem when you're referencing the text from web controls, getting in the habit now will prevent you from serious headaches and inefficiently checking for null and empty later. NET 4.0, you should have access to event, you need to pull the new values out of the front-end controls, and then re-bind your data.
I was just testing if I will get the changed value out of the textbox when updating with no luck.
"test" will appear in label not "asd" as I would want to.
In my case, I was previously aware of this issue but only relating to apparent loss of viewstate on controls.
Unfortunately I didn’t think of it as affecting events too.
Save all or press "Ctrl S" and hit "F5" to run the page, the page will look as in the following image: Click on "Edit the Grid View", it will display Textboxes in each cell as in the following image: Edit the value(s) here and click on the Update link, it will update all the data or to remove it click on the "Delete" link above the image shown.
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").
This is basically so you can cancel the update operation.
To get what you've type in I think you need to get the new values (the Dictionary e. In your case you can use it something like this (assuming name, phone and email are what they're called in your gridview): NOTE: If you're simply using this to get the values typed in to update your database then you're better of binding the datagrid and use the value after that to ensure you definitely have the same values in the datagrid as to what you put into the database.
In my case most features worked, Edit buttons would invoke row editing mode, cancel button works fine, row Command event generally worked, but it was Row Updating that simply wasn’t working.