Rowupdating new

rowupdating new-45rowupdating new-22

Many a times in our applications we use primary keys to get control of the particular record in the gridview.

For this situation, many developers use invisible columns (Hidden columns) in the gridview to identify that row.

the good old problem of getting the data from the row that is being currently edited within a Grid View. Accessing the "Controls": This method gets you access to the control in the Grid View, which might be useful based on what you are doing.

Obviously the simplest method is to use Data Key Names on the Grid View and then you should have the data in your Grid View Update Event Args as part of e. (In the following example, I cast to a Check Box as I know I have a checkbox at the col Index You Are Interested In - you should cast to whatever control you have in that column).

As the values are inserted into an Ordered Dictionary - you can use the field names to access the changed data 2.