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 to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
What is the difference between custom controls and user controls?
what is command line compiler.what are the steps and how it is related to debugging.
What is the difference between a multi-layer and multi-tier applications?
What is the full meaning of asp.net?
What are the advantages and limitations of query string?
Can viewstate be accessed in another page?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
What is the compiled object?
Is asp.net 64-bit enabled? How?
What is cache in asp net?
What is boxing and unboxing in asp.net?
What are Session states available and its Uses?
What is the good practice to implement validations in aspx page?
What is the Difference between MVC And MVP design pattrens