Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use a Datareader to fill Dynamic Lists
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00941915
Message ID:
00942155
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform