About ado.net components/objects. Usage of data adapters and
tell the steps to retrieve data ?
Answer / 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 |
Difference between ADO and ADO.Net
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!
What are the classes in System.Data.Common Namespace?
can u tell me the how to get the print for the form
What is the significance of CommandBehavior.CloseConnection ?
What is the difference between data reader and data adapter?
Describe ado.net object model in detail.
What is datatable?
what is type dataset?
WHAT Are the major major compnents of a data provider in ADO.net.
What provider ADO.net use by default ?
5 Answers Accenture, BirlaSoft, Wipro,
Define bubbled event?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)