ADO.Net - how to get data from database and bind to the
controls -- write this small code
Answer Posted / alb.shah
Creating a Database Connection at Run Time
Create the data connection object.
Create a data adapter object.
Create a data set object.
Invoke methods on the adapter object to fill or update the
data set.
Use data binding or another technique to display the data
from the data set.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Which is better viewstate or session?
How to deploy/publish webservices?How many ways?Plz explain me
Do gac'ed assemblies have fulltrust?
How do you implement postback with a text box?
How to find last error which occurred in Asp.net ?
What is application state?
What is the compiled object?
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?
Explain difference between friend and protected friend?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
What is GAC in ASP.NET 2.0
Explain the path instructions in xaml?
What is the use of placeholder control?
What is the full form of asp.net?
How dataadapter.fill works?