how to update data set?

Answers were Sorted based on User's Feedback



how to update data set? ..

Answer / 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

how to update data set? ..

Answer / kuber manral

da.update(ds);
// da-->> object of dataAdapter
// da-->> object of Dataset

Is This Answer Correct ?    1 Yes 0 No

how to update data set? ..

Answer / anand

usuing data.sqlclient;
---code----
sqldataadapter da=new dataadapter();
dataset ds=new dataset();
da.fill(ds);
da.update(ds)

or we cause to solve problem as--
public override int Update(
DataSet dataSet
)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What Are The Difference Between AutoEventWireup="true" and AutoEventWireup="False"

12 Answers   Phoenix Technologies,


Explain what are the advantages of asp.net mvc framework? : asp.net mvc

0 Answers  


what is postback implementation?when pre-render event n init event is fired?

2 Answers   Ness Technologies,


Types of authentications in ASP.NET ?

9 Answers   Accenture, Roland, Shriram,


What is the difference between and ActiveX dll and control ?

1 Answers   Microsoft,






what is diffrance between response.write & response.output.write

4 Answers   CTS,


What is the latest version of asp.net?

0 Answers  


How will you load dynamic assembly?

0 Answers  


how to retrieve data using web services in asp.net pls give me the code and explain me briefly

3 Answers  


How can we access static variable?

0 Answers  


can we pass values from one page to another page without redirecting to that page?

6 Answers   Google, Patni, Syntel, Wipro,


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

0 Answers  


Categories