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 |
Mention the execution process for managed code?
How would you turn off cookies on one page of your website?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
1. What is the difference between Cache and Session? 2. I cache limited to page like viewstate or it's accessible through out the application like session? 3. Which one is better when I've some data that is to be used across the application? Why is to better than the other?
Explain authorization levels in .net ?
What is full trust in asp.net?
How you will manage the state of ASP.NET controls?
0 Answers Sans Pareil IT Services,
What are tuples?
What is caching in asp.net?
What is the difference between cache and cookies?
To display data in a Repeater control which templete is provided ?
How do we invoke queries from the application?