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 many types of state management are there in asp net?
Explain what is an assembly?
Types of object in asp ?
when the threads are used in dot net.
Explain in what order a destructors is called.
Given an ASP.NET Web Form called WebFrom1, what class does the WebForm1 class inherit from by default? a) System.Web.Form b) System.Web.GUI.Page c) System.Web.UI.Page d) System.Web.UI.Form
How does ASP.NET framework maps client side events to Server side events.?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
What is binding in web service ?
How does the XmlSerializer work? What ACL permissions does a process using it require?
Difference between Response.Expires and Expires.Absolute ?
1 Answers Accenture, BirlaSoft,
Can we add code files of different languages in app_code folder?
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)