Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the name of the databaseSets
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Get the name of the databaseSets
Divers
Thread ID:
01388393
Message ID:
01388393
Vues:
85
In the developer's guide, there is a section called "Specifying Database Sets in the Config File" and it includes the example below:

databaseSets
add key="CustA" value="Customer A (SQL Server)"
add key="CustB" value="Customer B (Visual FoxPro)"
databaseSets

databases
add key="CustA\Northwind\Connection" value="server=(local);uid=sa;pwd=;database=NorthWind;"
add key="CustA\Northwind\DataAccessClass" value="DataAccessSql"
add key="CustB\Northwind\Connection" value="Provider=vfpoledb.1;Data Source=C:\Mere Mortals .NET Framework\Samples\Mere Mortals Framework Northwind Sample Application\VFPData\Northwind.dbc"
add key="CustB\Northwind\DataAccessClass" value="DataAccessOleDb"
databases

There is a method called GetDatabaseNames() that returns the information in the (databases) section, but I can not find a method to retrieve the information in the (databaseSets) section. Is there a way to get the value "Customer A (SQL Server" for CustA or the value "Customer B (Visual FoxPro)" for CustB? Thanks in advance for any ideas.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform