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 .net technology?
Tell about your technical profile ?
How to load the contents of an xml file into an xmldocument object?
What is jit compilers?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
What is the benefit of .net core?
Explain me what is .net web service?
What is the advantage of .net?
What is meant by globalization?
What is "microsoft intermediate language" (msil)?
How is .net able to support a lot of languages?
What is connected and diconnected database ?
How do you define the lease of the object in .net?
How will you make .NET programs work in Linux ?
Interop Services?