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 different authentication modes in the .NET environment?
What is event bubbling?
How does asp.net page work?
Define the term Scavenging in Caching?
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
How do I open an ashx file?
Hi! Could any 1 please suggest me a free practice online exam for asp.net exams.. thanks
Why is global asax is used for?
What is difference between ASP and ASP.NET ?
What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)?
Your manager has asked you to describe what you would use application variables for. What statement best describes the use of application variables? a) Application Variables are used to keep state for each connected user. b) Application Variables are used to keep state for the web site c) Application Variables are used to keep state for the application on the server d) Application Variables are used to keep state for all applications objects in the web site.
Explain the purpose of storyboard.targetproperty.