how to update data set?

Answer Posted / kamlesh

With use of following code we update the data set:-
Using System.Data.SqlClient;
Using System .Data;
Using System.Configrution;
SqlDataAdpator da=new SqlDataAdaptor
("query",ConfigrutionSetting.AppSetting["key"]);
DataSet ds=new DataSet();
da.Fill(ds);
da.Update(ds);

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which protocol is used to call web service?

565


What are the features of asp.net mvc?

529


How to fetch a data from one table to another table in asp.net ?

585


What are the benefits of view state?

556


Define application state variable and session state variable?

558






What is the use of ASP.NET routing?

562


Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

627


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

610


Describe session handling in a webfarm, how does it work and what are the limits?

586


What are session objects?

514


Define a static class?

533


How to use push notification?

604


What is the difference between abstract class vs interface? Can give me the real time examples?

490


How do sessions work?

540


How to implement role based security in asp.net mvc? : Asp.Net MVC

438