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 is a WebService and what is the underlying protocol used in it? Namespace?
What are the intrinsic objects present in ASP.NET
Which tool you have done?
How do I publish my asp.net application to my isp's web server?
What is advantage of viewstate and what are benefits ?
What is a Windows Service and how does its lifecycle differ from a "standard" EXE?
What does the "EnableViewState" property do? Why would I want it on or off?
how to retrieve data using web services in asp.net pls give me the code and explain me briefly
How will you load dynamic assembly?
Do I need to have the latest version of windows media player installed?
Why do we use asp.net?
Differentiate between structure and class.
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)