ASP.NET C#
How to covert Web form to MSWord doc and print it
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Master BillaPosted Oct 3, 2009, 3:23 AM
See here is sample
http://asptutorials.net/C-SHARP/convert-ms-word-docs-to-html/
thank you
Roei BarPosted Oct 2, 2009, 10:57 AM
and for the print issue you can ues this code:
if (fieldText.StartsWith(" MERGEFIELD"))
{
Int32 endMerge = fieldText.IndexOf("\\");
Int32 fieldNameLength = fieldText.Length -
endMerge;
String fieldName = fieldText.Substring(11,
endMerge - 11);
fieldName = fieldName.Trim();