>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