Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Error messages problem
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Custom Error messages problem
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01315817
Message ID:
01315817
Vues:
58
Hi All, I am in the process of cleaning up an application and am at present redirecting all calls to MessageBox to a Custom class which retrieves the error text from a table (SQL server 2000 ) - all is working fine - Except !!!, some of the error text have embedded newline characters \n and \r - whilst these work fine when hard coded they don't when stored in a table - anyone know of a way around this ? an example of this is shown below


"System offline\nPlease try later" // fine when hard coded
Regards,
Peter J. Kane



Pete
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform