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 standard?
Difference between dispose and finallize method?
What is data type and how many types of data types are in .NET ?
Which namespace is used to support multithearding in .NET?
Explain attributes in dot net?
Explain soap and xml?
What are Attributes in .NET?
What is the difference between reference type and value type?
What is .net3.0 and .net3.5?
What tools can I use to develop .net applications?
What are multicast delegates?
How will you make .NET programs work in Linux ?
What is the difference between vb.net and vc#.net?
How do you turn off cookies for one page in your site? Give an example.
How server form post-back works?