Rowupdating datakeynames

Run the project and place a breakpoint on the code above. The program will stop on the breakpoint and you will be able to see the selected row index being passed through.You can then use the code below to retrieve the ID value: are a great way to use primary keys without having to display them to the user.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.

I'm approaching this by writing some code for the Grid View's Row Updating event.

The problem is I don't know how to access those checkboxes that were generated by the Repeater, so I'm not getting very far.

"If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google , Twitter, Linked in and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox .

You can also assign multiple primary keys if desired by separating them with a comma (,). This allows you to create a new instance of a class and assign values to properties in one easy step.

For example you could have the following code:to store the information. Finally the code is bound to the When the user selects a record from the grid, the selected row index will be passed through as the Command Argument.