I have a datagrid of 10 rows and I am updating the fifth
row using template column edit. How wil u know that the row
is updated, so that it can be send to database for updating
the respective table?

Answer Posted / aric smith

In GridView_RowUpdating Event, you get e.RowIndex which can
be used for finding out row edited.

e.g. : gridview.Rows[e.RowIndex]

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the different features of a Thread and a Process?

871


What are the different types of sessions in asp.net?

696


Explain the disadvantages of viewstate?

764


Explain how cookies work.

792


Explain what is viewstate?

756


What is the compiled object?

1845


Where is the view state data stored?

767


What are web beacons used for?

740


What is inproc mode in session?

688


When was asp.net released?

750


Can we store object in viewstate?

750


if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....

1853


What are uri parameters?

758


What is a ashx file?

769


Explain global assembly cache.

772