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 to implement CAS in .Net?
What is the use of common language runtime?
Differences between namespace, class, assembly?
Which dll translate xml to sql in internet information server (iis)?
What is the difference between web application and enterprise application?
Explain cas (code access security)?
What is .net standard?
What is "microsoft intermediate language" (msil)?
What are the security policy levels in .Net
Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column
Explain difference between panel and groupbox classes using .net?
Do you know what is the difference between an abstract class and an interface?
I'm having some trouble with cas. How can I troubleshoot the problem?
Explain what inheritance is, and why it's important?
object is physical and class is logical..here class is not occupying any memory as our definition of class but i got a question then the class where it stores if it is not occupying any memory....