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
Explain how to manage pagination in a page using .net?
What is the use of common language runtime?
Explain me what is a design pattern and what is it for?
Explain the difference between vb and vb.net?
What is gac in .net?
Tell us the difference between the while and for loop. Provide a .net syntax for both loops?
What is meant by globalization?
Explain the difference between managed and unmanaged code?
what is prototype design pattern in .net
How will you load dynamic assembly? How will create assemblies at run time?
Difference between machine.config and web.config?
Explain memory-mapped files.
Please explain what are an inheritance, polymorphism, and encapsulation?
How to debug failed assembly binds?
Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?