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
How server form post-back works?
Is .net an object oriented language? What are their components?
Please explain what is the difference between encrypting a password and applying a hashing?
A developer company sends dlls to the client. Some client is not happy current functionality, so request some modification. Developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected?
What is machine.config in .net?
What is reflection in microsoft .net context?
What is the difference between a namespace and assembly name in .net?
Can "this" be used within a static method?
what is the keyword used for self reference?
What are the new features of Framework 1.1 ?
Why do we use the “using” statement?
Explain is the jit an interpreter?
Tell me what is serialization?
What does stateless mean?
Explain about .net?