Get data from database in dropdown list - C#  | | i am developing application in .net using C# that has drop down list. i want to take data in it, to show the lost. suggest me .
| |
| |
| | | | Development by Browsermedia Full-service web development; web, wireless and database applications. www.browsermedia.com
| Auto Glass Repair Service There is a Lot Riding Behind Your Windshield! Get a Quote Online. www.RoyalGlass.DanMattMedia.com
| Piezo Sensors Order Piezo Sensors from Digikey. Check Availability - Ship Same Day. www.DigiKey.com
|
|
| | | | | | | 1. AnimaDevoratum (12) | 1 month ago | I think you could add the data source first, must be in the data menu, it will open an intuitive wizard to make the data bind, if you're using SQL first you have to test connection to your database, if you're using other sources add your data file to your project, then when you add your drop down list control, like a combo box for example, in the right upper corner you'll see a little arrow with a menu strip there you can add your source, check the option to make a data binding and then select your data source and the field you want to bind, this should add a Binding Source to your project, with this control you can even filter your data, and if you add another control and you use your new binding source as a source to that control it links the fields automatically.
As you see, by doing it this way you dont need any code.
Hope it helps.
| |
| |
|
| | Development by Browsermedia Full-service web development; web, wireless and database applications. www.browsermedia.com | add comment |
|
| | | | | |
| Database Data base is a shared collection of interrelated data in a structured form, which provides useful... | |
Used Classic Auto Pricing Used Classic Info, Photos, More. Get Local Dealer Prices. www.Edmunds.com | |
|
|
|
|
|