Posted on: 7/24/2012 11:51:49 PM | Views : 229

Hi Guys,
I am displaying word content on web page with the following code.
Word.ApplicationClass wordApp = new Word.ApplicationClass();


string filePath = inputbox.Value;
object file = filePath;
object nullobj = System.Reflection.Missing.Value;


Word.Document doc = wordApp.Documents.Open(ref file,
ref nullobj, ref nullobj,ref nullobj, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj,ref nullobj, ref nullobj,
ref nullobj); 


Word.Document doc1 = wordApp.ActiveDocument;
string m_Content = doc1.Content.Text;


m_Textbox.Text = m_Content;
doc.Close(ref nullobj, ref nullobj, ref nullobj);


But now the content are not in the organised manner.
So i want to organise the content of word file on web page.
Thanks in Advance.

...

Go to the complete details ...