Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
525
How to access edited row in aspx.cs file
posted

Hi

I am using Rowedittemplate to edit the row in the template i had created small htmltable which contains main information and in this html table i am using a Update button so how to acess this edited row in aspx.cs file i have to update tis edited values in to database which event i have to use to access this edited row (or) edited row values

 

Please Help me it is very urgent.......

Parents
No Data
Reply
  • 45049
    posted

    Handle your grid's UpdateRow or UpdateRowBatch event.  The "e.Row" property refers to the row that was edited.

    Which event you use depends on whether or not you're using the grid's AJAX functionality, and if you want a postback to occur immediately.  If you're using the grid's AJAX functionality, use the UpdateRow event.  If you're not using AJAX, and you want the grid to cause a postback whenever the editing of a row is completed, use the UpdateRow event.  If you're not using AJAX, and you want the grid to store all changes until a postback is triggered by some other control, use the UpdateRowBatch event.

Children