About ado.net components/objects. Usage of data adapters and
tell the steps to retrieve data ?
Answer Posted / kalirajan
ADO.NET Obj:
SqlConnection
SQlcommand
SqlDataReader
SqlDataAdapter
Dataset
Retrieving Data:
SqlConnection con = new SqlConnection("");
con.Open();
SqlCommand cmd = new SqlCommand("select * from Tbl", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What do you know about ado.net's methods?
What are the different methods available under the sqlcommand class to access the data?
Define Execute Scalar?
What is data reader in ado.net?
What are the Data providers in ADO.Net?
Describe briefly an ADO.NET Dataset ?
What is ole in excel?
What is the role of the dataset object in ado.net?
What is execute reader in ado.net?
Explain why canot we use multiple inheritance and garbage collector paralelly in .net?
What are the different ado.net namespaces are available in .net?
Explain the role of data provider in ado.net?
What is an example of ordinal data?
What is data view and variable view?
What is the use of Dataview?