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
Is post back in asp.net?
Why mvc is better than asp.net? : Asp.Net MVC
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
Explain Session state management options in ASP.NET.
What do you understand from custom control?
What are the memory-mapped files?
How tooltip is set through code-behind in ASP.NET?
What are the session management techniques asp net?
What is difference between session and cookie?
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
What are merge modules?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
Which property is used to identify the Page is Post Back in ASP.NET?
What does occur first in ASP.Net, Authentication or Authorization?
What is asp.net futures?