Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASCX Arbitrary HTML blob insertion
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
ASCX Arbitrary HTML blob insertion
Versions des environnements
Environment:
ASP.NET
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01351190
Message ID:
01351190
Vues:
67
I need to find a way to easily render a blob of HTML text onto an ascx page. I can't find any control that seems to fit the purpose. The specific case is I have a | delimited string that I want to render out via:
x.Text.Replace( "|", "<br>" );
This works great on the reponse.write() scenario where I'm outputing to Excel, but I need an equivalent for the web page displaying other labels, textboxes and a datagrid.

I don't really want to convert the delimited string to a dataset and bind it to a datagrid that seems like a ton more code than it should have to be.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform