Microsoft
Software
Hardware
Network
Question : How to generate HTML String?
I have a String that has the HTML body content.
String strBody;
Now I have a HTML header that needs to be added to this String:
<!DOCTYPE HTML PUBLIC "-//W3c/DTD......>
<HTML>
<HEAD>
<meta http-equiv="Content-type'.
...>
<Style>...</Style>
And of course I need to add a ending tags so that the final String strFinal will be a complate HTML string:
</body>
</html>
What's the best way to do this? Shall I use StringBuilder, etc.? Thanks for any samples.
Answer : How to generate HTML String?
Have you linked the contacts as per
http://www.preact.co.uk/co
ntent/Imag
e/accinteg
.gif
?
Random Solutions
DUMB question: Can't get htmlspecialchars_decode (or entity) to work...
Printer Redirection on Windows 2008 R2 Terminal Server
infrastructure analyst
Log on ID and pw
VLSM Calculation
Visual Studio 2008 view in browser localhost points to wrong port
How can I alter the width of a datasheet inside a subform?
limiting resources to users
SQL Clustering
Format issues with FMPA 11 checkbox set exported to Excel