Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the name of the databaseSets
Message
 
À
17/03/2009 17:49:09
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01388393
Message ID:
01389304
Vues:
45
Tim,

If you set the current database as you described, then do you know how to retrievie the associated description? For instance:

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

If I use the Database Manager to set the key to "CustA", is there a method that will return "Customer A (SQL Server)"? Thanks again for your help in solving this question.

Kind Regards,

Mat

>
>The answer is in the Database Manager. You can set the current database Set by setting the DataBaseSetKey to the value you want like this.
>mmAppBase.DatabaseMgr.DataBaseSetKey = "CustomerA";
>
>I got this from the Dev Guide under Overview of MM. NET/ Understanding MM.NET Manager objects/ The Database Manager. The sample application uses the options form to set the Database key which you could also use the same method if you like or set it programatically by the setting I showed above.
>
>Tim
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform