ADO.NET 2.0 Question:
Download Questions PDF

How to identify the updated rows in a dataset?

ADO.NET 2.0 Interview Question
ADO.NET 2.0 Interview Question

Answer:

If the RowState property of the DataRow is "Modified" then that DataRow can be treated as updated.

If dr.RowState=DataRowState.Modified then
' u r logic here
End if

Download ADO.NET 2.0 Interview Questions And Answers PDF

Previous QuestionNext Question
What is difference between ado and ado.net?What is difference in Record set and Dataset?