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 mvc in angular?
What are the media types of http requests and response?
How to check null values in dataset ?
When during the page processing cycle is ViewState available?
diffrance between stored procedure & function in sql server?
What is loop in asp.net?
To bind columns manually which tags do you need to add within the asp:datagrid ?
What are runtime hosts?
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
How can you dynamically add user controls to a page?
How connect data into DropDownList from Aceess Table?
Describe state management in asp.net?
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)