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
Explain how can we inherit a static variable?
Why is xap important?
Explain Areas in MVC?
Explain the main function of razor in asp.net? : asp.net mvc
Define web.config in .net?
What is a web based system?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
What is an imagemap in asp.net?
Is web config mandatory?
What is difference between view state and session state?
Any disadvantages in Dataset and in reflection ?
What is asp.net? How is it different from asp?
How to do state management in ASP.NET?
Why does my asp.net file have multiple tag with runat=server?
How to unit test Web API?