Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

4274


How do I know asp.net mvc version? : Asp.Net MVC

1094


Can I have a unique key as foreign key?

1008


What is difference between view state and session state?

898


Can we store object in viewstate?

1018


Can you explain autopostback?

1034


Explain the Order of events in an asp.net page?

1062


What kind of data can be stored in viewstate?

1024


What is content page in asp net?

996


Who can consume WebAPI?

1056


What is a session government?

946


What asp.net control can embed xaml into asp.net pages?

1017


Explain how is a property designated as read-only?

1042


What is application state?

972


What is asp.net localization?

1029