When the row updating method is invoked, I can hard-code the parameter for the new value and the update method successfully updates the value in the database, so I know my update method is executing okay.
The problem is strictly related to being unable to access the new value when the gridview is in edit mode.
Try the following inside your Row Updating event Grid Data View Row row = (Grid Data View Row) sender; Text Box txt Descr = (Text Box) row.
Do you see anything that might be preventing the new value from being accessed?
A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
continue reading » Still another 23 percent utilize the schoolyard approach and send the word out through a friend.
If you're into online dating, you're hardly alone: 40 million Americans use online dating services; that's about 40 percent of our entire U.
Search for onrowupdating:
Can you tell me how you managed or is there still a problem?