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 is the difference between exe and dll?
What is the difference between sealed vs static class?
Can I have a unique key as foreign key?
Which is better session or viewstate?
How use Xml data in ASP.net?
What are the different method of navigation in asp.net?
What are the security types in asp.net?
Explain how cookies work. Give an example of cookie abuse.
How does the iis work?
What is difference between singleton and single call?
What is paging in context of Memory?
if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.
What is session object? Describe in detail.
How do I use response redirect?
Explain Session state management options in ASP.NET.