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
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
How do I know asp.net mvc version? : Asp.Net MVC
Can I have a unique key as foreign key?
What is difference between view state and session state?
Can we store object in viewstate?
Can you explain autopostback?
Explain the Order of events in an asp.net page?
What kind of data can be stored in viewstate?
What is content page in asp net?
Who can consume WebAPI?
What is a session government?
What asp.net control can embed xaml into asp.net pages?
Explain how is a property designated as read-only?
What is application state?
What is asp.net localization?