Answer Posted / swathi
this is also same as the Dataset.
these are steps:
1. SqlConnection con=new SqlConnection(ConnectionString);
2. SqlCommand com=new SqlCommand("Select * from
TableNAme",con);
3. SqlDataReader dr;
4. con.open();
5. dr=com.ExecuteReader();
6. Datagrid1.DataSource=dr;
7. DataGrid1.DataBind();
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the difference between an abstract class and an interface?
Explain why do we use the “using” statement?
Which namespace does it belong to by default?
If any body working in Infosys, please can u give me the referense to that company because i hered that their is openings for freshers with referal..
Can you edit data in repeater control? How?
Using com component in .net?
Explain the difference between vb and vb.net?
Explain .net framework overview?
What are code contracts?
Does .net supports destructors concept?
Can you write a class without specifying namespace?
How to convert a .NET object into COM operabililty?
Explain what is the difference between a class and an object?
What is assemblies in .net?