Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to update data set?

Answers were Sorted based on User's Feedback



how to update data set? ..

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

how to update data set? ..

Answer / kuber manral

da.update(ds);
// da-->> object of dataAdapter
// da-->> object of Dataset

Is This Answer Correct ?    1 Yes 0 No

how to update data set? ..

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

Post New Answer

More ASP.NET Interview Questions

Can you edit data in the Repeater control?

11 Answers   CAC, Creative,


Which method do you invoke on the DataAdapter control to load your generated dataset with data?

2 Answers   Siebel Systems,


What are the steps involved to fill a dataset?

0 Answers  


To make Cache item dependent on a file,directory or other cached item ,you should create an instance of which clause?

1 Answers  


Usage of web.configuration ?

3 Answers   Microsoft,


What is the difference between managed and unmanaged code? *******

2 Answers   Patni,


What are the advantages of the code-behind feature?

0 Answers  


Explain swagger components.

0 Answers  


Define viewstate in .net?

0 Answers  


How does a content page differ from a master page?

0 Answers  


What is the difference between equals() and == in c#?

0 Answers  


how to use web services with code?(with example code)

1 Answers   Accenture,


Categories