Which method do you invoke on the DataAdapter control to
load your generated dataset with data?
Answer Posted / pushpendra singh
Fill() method of DataAdapter
SqlDataAdapter da=new SqlDataAdapter();
DataSet ds=new DataSet();
da.Fill(ds);
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are two important objects of ADO.Net?
oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?
How do you find the count of records in a dataset?
Which is the feature of ado.net?
What is the difference between sqlcommand and sqldataadapter?
Explain how to call the sql commands asynchronously in ado.net version 2.0?
How can you identify whether or not any changes are made to the DataSet object since it was last loaded?
What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)
What are the advantages of ado.net?
What is a string variable?
What is different between sqlcommand object and command behavior object?
What are the namespaces used in ado.net for data access?
Define Execute Scalar?
What is basic use of data view?
What is namespace in ado.net?