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 the features that are common to all .Net languages.
What is multiThreading in .NET?
What's wrong with a line like this? Datetime.parse(mystring);
What is concurrency? How will you avoid concurrency when dealing with dataset?
How does cas works?
What is interface and abstract class in .net?
How to implement getcommon method in class a? Are you seeing any problem in the implementation?
Tell us what is a variable of implicit type and what is its scope?
What are the new features of Framework 1.1 ?
What does jit do?
What method do you use to explicitly kill a users session? How?
What is the difference between .net and laravel?
What is the difference between reference type and value type?
What is lazy initialization?
Explain the difference between managed and unmanaged code?