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

What setting must be added in the configuration file to deny a particular user from accessing the secured resources?

470


What is the asp.net control toolkit?

534


Why do we use web config?

492


What is cas?

571


How can we update records in gridview?Is there any appropriate code for it?

1577






How many types of cookies are there in asp.net?

513


What is the size of Get method and how much data it can store?

549


What is different in .net 1.1 and .net 2.0?

553


What is difference between cache and session?

479


What is a page life cycle? What are the events in a page life cycle?

470


What is asp net objects?

505


Is it possible to write code in many languages in one asp.net project?

535


How do I open an ashx file?

522


How many types cache in asp net?

501


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

486