Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro TEXT TO Equivalent in C#
Message
From
16/10/2009 18:58:49
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
FoxPro TEXT TO Equivalent in C#
Miscellaneous
Thread ID:
01429711
Message ID:
01429711
Views:
212
Is there a way to implement something like the TEXT TO command used in FoxPro in C#?

I want to build an HTML page and upload it to our server I need to create a couple of strings that will include the code of the HTML page. (Haven't written any code in ASP so its probably easy, but I'm ignorant of how to do it).

Code like the below:
TEXT TO m.cBeginHTML TEXTMERGE noshow
<html>
 
<head>
<title>Marketware QuickList Map</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

ENDTEXT
In C#:

string cBeginHTML = ??


The challenge here is there are lots of enbedded " and \ etc which get interpreted by C# and then they mess up the string or the HTML code.

Thanks!

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform