Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use a Datareader to fill Dynamic Lists
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00941915
Message ID:
00942155
Vues:
21
>I have a Win Form with 10+ comboboxes to help populate 3 grids. It's taking upwards of 10 seconds to play:
>this.dsOpenings= oModels.GetEmptyDataSet();
>over and over again.

Why do you need to get an empty DataSet over and over again?

>So I want to use the connection string in App.Config. How do I reference it so I can get the fucntion for filling data dynamically?

If you want to get a particular connection string, you can call the Database Manager's GetConnectionString() method. For example:
string ConnectionString = OakLeaf.MM.Main.mmAppBase.DatabaseMgr.GetConnectionString("MyDatabaseKey");
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform