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

What are the Types of authentications in IIS

654


how can create login from create and written conde in asp.net

1841


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

1846


What are different methods of session maintenance in asp.net?

626


What is the file extension of web service?

613






What is a 1x1 pixel?

598


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

582


How many validators do ASP.NET have?

662


When you use Ajax controls in the ASP.NET application?

639


is gateway for sms continue connected for sending sms.how?

1892


What is enableviewstate?

603


Why will you usually create an aspnet user account in the database for an asp.net web application?

602


What is asp.net master page?

610


What are the HTML server controls in ASP.NET?

643


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1562