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
What are different methods of session maintenance in asp.net?
What is the file extension of web service?
What are the asp.net 2.0 features?
What are the types of caching in asp.net?
Explain http handlers? Where we can use the http handlers?
Can you explain the basic use of dataview?
What is the use of session in web application?
What is a user developed application?
What are the different methods of session maintenance in asp.net?
Difference between Response.redirect vs server.transfer?
How to disable disable browser's Back button in asp.net (JavaScript)?
Which protocol is used in a web api?
What is the life cycle of an asp.net page?
How can we create pie chart in asp.net?
Why we go for mvc instead of asp.net? : Asp.Net MVC