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...

About DataAdapters ?

Answer Posted / nitya

DataAdapter acts like a mediator between Dataset and
Datastore(ie.Oracle,Sqlserver or Access).It has two methods
fill() and update().
For Ex:
SqlConnection con=new SqlConnection
("DataSource="databaseEngineName";Initial
Catalog="DataBaseName";User
Id="userName";Password="password";);
DataAdapter da=new DataAdapter(sqlcommand,con);
DataSet ds=new DataSet();
da.fill(ds,"tablename");
da.update(ds);

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can we inherit a static variable?

1068


Why is xap important?

1007


Explain Areas in MVC?

1097


Explain the main function of razor in asp.net? : asp.net mvc

1082


Define web.config in .net?

1075


What is a web based system?

979


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

2368


What is an imagemap in asp.net?

1140


Is web config mandatory?

969


What is difference between view state and session state?

855


Any disadvantages in Dataset and in reflection ?

3257


What is asp.net? How is it different from asp?

1036


How to do state management in ASP.NET?

1094


Why does my asp.net file have multiple tag with runat=server?

991


How to unit test Web API?

1203