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
How to load multiple tables into a dataset?
What is ado asp?
What is bubbled event can you please explain?
What is the difference between DataReader and DataSet in ADO.NET?
What is difference between connected and disconnected architecture in ado.net?
How would you connect to database using .NET?
What is executequery?
What is a serialized object?
Which method is used by command class to execute SQL statements that return single value?
differance between ADO vs ADO.Net?
What is ado full form?
What does ado stand for in ado.net?
how Sequence to connect and retrieve data from database using dataset?
How can we add/remove row's in "datatable" object of "dataset"?
Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.