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
Explain different authentication modes in asp.net?
Define transparent caching with aop?
Explain Features in ASP.NET
Define the term Web Garden?
Can we use html in asp.net?
What are the two types of web pages?
Explain method to handle error using HttpError in Web API?
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)
Do you support digital rights management to protect my videos?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
What is session and application variable in asp net?
What is custom events? How to create it?
What is a user session?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
Is session server side or client side?