Rowupdating code

Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose.

Please refer to the Dev Website Terms of Use for more information.

These properties will automatically render Edit, Update and Cancel buttons inside Grid View column.

Once I checked Is Post Back in Row Updating event.. Configuration; public partial class _Default1 : System. Actually last night I spent many hours on this issue . Dim dt = CType(Session("dt"), Data Table) 'Update the values. Edit Index = -1 'Bind data to the Grid View control. Sql Command Dim sql As String Dim reader As System. 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.This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.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.You're accessing so many items without null checks that it could be any number of things. Are you sure all of the controls exist in the cells you're specifying? Hi Miro: It isn't required to duplicate this code in the Row Updated event handler. If you have a problem with this solution, please provide us a sample for more detailed research. Disclaimer: The information provided on Dev and its affiliated web properties is provided "as is" without warranty of any kind.Dear All, In Row Updating event of a Grid View I am trying to update the database picking the values of bound text Boxes in the Edit Item Templates. I confirmed update works by giving some other text vlaues instead of those retrieved from TB1, TB2, and TB3. I checked your code, it is working very good; below example of the code I used here...