how to update data set?
Answers were Sorted based on User's Feedback
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 |
Answer / kuber manral
da.update(ds);
// da-->> object of dataAdapter
// da-->> object of Dataset
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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
what is postback implementation?when pre-render event n init event is fired?
Types of authentications in ASP.NET ?
9 Answers Accenture, Roland, Shriram,
What is the difference between and ActiveX dll and control ?
what is diffrance between response.write & response.output.write
What is the latest version of asp.net?
How will you load dynamic assembly?
how to retrieve data using web services in asp.net pls give me the code and explain me briefly
How can we access static variable?
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?