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 |
How to remove cache object in asp.net?
how many character send in one sms forget 160limit and think about gateway allowed
Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET?
What are the Types of authentications in IIS
Why asp.net is better than php?
What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup
Why asp.net is used?
What r the asp.net list controls and diff. Between them?
What happens if an ASP.NET server control with event-handling routines is missing from its definition?
differences between class inheritance and interface?
Does JITting occur per-assembly or per-method? How does this affect the working set?
What do you understand by aggregate dependency?