ADO.Net - how to get data from database and bind to the
controls -- write this small code
Answer Posted / kaarthikeyan
establish a connection and declare sqldataadapter,dataset
sda=new sqldataadapter("select the appropriate
table",connectionobj);
ds=new dataset();
sda.fill(ds);
gridview1.datasource=ds;
gridview1.databind();
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Who is using asp.net?
Explain asp.net mvc request life cycle? : asp.net mvc
In ViewState How much lifespan items stored?
Which is the parent class of the ASP.NET server control?
Which object encapsulates state or data of a user?
Which methods validate all the controls on a page?
What is query string in asp.net?
What are merge modules?
What are the asp.net list controls and difference between them?
What is full form of asp.net?
What is asp net theme?
What is a response cookie?
What are the options in ASP.NET to maintain state?
Which of the following .NET framework supports Web API?
What is authentication in asp.net?