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

What are the advantages and limitations of query string?

559


Explain asp.net mvc request life cycle? : asp.net mvc

483


Explain how can we access static variable?

540


How can you implement the postback property of an asp.net control?

521


What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?

1499






How do I open an ashx file in windows 7?

564


What threading model used in asp and asp.net?

564


What are asp.net web forms?

511


What does occur first in ASP.Net, Authentication or Authorization?

556


What is the difference between typeof() vs gettype()?

548


What are session state modes?

560


What is Forms Authentication in ASP.NET?

572


What are triggers of an updatepanel?

547


Who creates jsessionid?

555


What are resource file and how do we generate resource file?

558