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

Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

0 Answers  


What are session and cookies?

0 Answers  


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?

1 Answers  


Project Architecture (3tier, n-tier)

1 Answers   Syntel,


witch is the best insistute in sharpoint course.what abt future of share point course.

2 Answers  


Describe the difference between inline and code behind?

2 Answers  


Explain file-based dependency and key-based dependency.

0 Answers   MindCracker,


What r the remotable objects. and how u make an application remotable

1 Answers  


What are the various session state management options provided by asp.net?

0 Answers  


How may clustered index we can create in table?

0 Answers  


how to convert varchar into datatype int............. in ASP

1 Answers  


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

0 Answers   Quest,


Categories