How to get the datakeynames value in the rowupdating event lauren froderman and dominic sandoval dating

I am using the Update feature of the SQLData Source to update a SQL Server database with values entered into the gridview. I believe this is due to the controls that contain the user entries are not the gridview itself, but rather child controls within the gridview.I have been using the names of the actual controls but nothing happens.Getting column value from a gridview control I have a grid view control and has one datakey and other columns. How to get gridview values from Row Updating method I have a gridview with the select & edit commands enabled.

Now you can ask questions directly to me on my new site ASPForums.

1) When I press Edit control, I am getting datakey value as expected. pdf_filename 2) when I press Delete control, I should get the datakey value. The Row Update method needs to get the 1st column value of the selected row except that the row technically isn't "selected" so I can't use the selectedindexchange method to get/save some values.

But I am not getting I am using c# Please help me Hi vmk, Could you be a littlemore elaborate? Thanks in advance for any help or direction you ca...

I was able to make it sort of work by using the Check Changed event on the checkboxe...

Problem getting new value in gridview's Row Updating event I have a dynamically created gridview, it's autogeneratedcolumns is set to True, and it databinds on every postback.

Leave a Reply