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 |
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
What are session and cookies?
why we should use more than one web.config files in our application? I have two web.config files in my application. One in the root directory and another one inside a sub folder. When the application runs which web.config file will run? why?
Project Architecture (3tier, n-tier)
witch is the best insistute in sharpoint course.what abt future of share point course.
Describe the difference between inline and code behind?
Explain file-based dependency and key-based dependency.
What r the remotable objects. and how u make an application remotable
What are the various session state management options provided by asp.net?
How may clustered index we can create in table?
how to convert varchar into datatype int............. in ASP
In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely
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)