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

Explain Features in ASP.NET

765


Differentiate globalization and localization.

773


What are sessions used for?

751


What a diffgram is, and a good use for one?

746


Explain how can we inherit a static member?

706


Why is this service branded with windows livetm?

777


Describe a bubbled event and how it is used ?

828


What is Web API Routing?

801


Why is string called immutable data type?

794


How will you load dynamic assembly?

740


What is simple data binding?

716


Where sessions are stored in asp.net?

726


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

836


Explain what is an assembly?

737


What is form submit?

694