Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Localization bug?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00931373
Message ID:
00932424
Vues:
25
Shawn,

>What I am asking for is your routine that looks up the key, in the message database. You said it returns the key it was passed if it didn't find the message in the message table, an EOF returned.
>
>Is there a way to determine if the value was found or not, because I would like to display my own message if the key was not found, versus returning the key as the value.

Check out the MM .NET Help topic "Setting Text Programmatically". It lists the overloads of the Message Manager's GetMessage() method. If you pass a false as the returnMessageKeyIfNotFound, the method returns null if the language/message value is not found.

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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform