Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetDbcNameFromConnectString(), qualified?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00847236
Message ID:
00847286
Vues:
17
>Hi mere mortals,
>
>The compiler does not like my call to GetDbcNameFromConnectString(). The reported error is:
>static member "mmAppBase.DatabaseMgr.GetDbcNameFromConnectString(ConnStr);"
>cannot be referenced with an instance reference; qualify it with a type name instead
>
>
>string FreeTableDataPath
>FreeTableDataPath = mmAppBase.DatabaseMgr.GetDbcNameFromConnectString(ConnStr);			
>
>
>Can someone explain to me what is going on and what is the correct way to use GetDbcNameFromConnectString()
>
// w/o depending on "using" stuff
string FreeTableDataPath = OakLeaf.MM.Main.Managers.mmDatabaseManager.GetDbcNameFromConnectString(con);
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform