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 |
Can you edit data in the Repeater control?
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
What are the steps involved to fill a dataset?
To make Cache item dependent on a file,directory or other cached item ,you should create an instance of which clause?
Usage of web.configuration ?
What is the difference between managed and unmanaged code? *******
What are the advantages of the code-behind feature?
Explain swagger components.
Define viewstate in .net?
How does a content page differ from a master page?
What is the difference between equals() and == in c#?
how to use web services with code?(with example code)
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)