Suppose you display a data having 200 records in a
datagrid. Then you edit 100 records of them. Now when you
will press update button,all 100 records should be updated
in single shot rather than reading every record and
updating. How to do it?

Answer Posted / masuduz zaman

By using dataSet.GetChanges(DataRowState.Modified) method we can update all 100 records at a time.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the execution process for managed code?

539


Explain why datareader is useful?

552


What is the advantage of mvc over asp.net? : Asp.Net MVC

509


Explain how do you validate the controls in an asp .net page?

523


What is the asp.net mvc folder conventions? : asp.net mvc

469






Name the tools or API for developing or testing web api?

535


Is asp.net and .net same?

545


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

566


What is a query string in a url?

541


what is a .xap file? Explain with an example.

593


what is loosely coupled solution? How it can be used?

565


Can you set the session out time manually?

383


Explain diff between dataset and datareader?

533


What is the difference between session and viewstate in asp.net?

610


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

518