Hi friends ,
am creating one application in dat i want to replace particular text(<<ABC>>) with a table in word document am using below code
but am getting text if i open the word document please help me
System.Text.Str ingBuilder strDocContent = strDocContent.R eplace("<<ABC>> ", "<table><tr><td >a</td></tr></table>");
System.IO.Strea mWriter stmWriter = new System.IO.Strea mWriter(ServerP ath + "Quotation " + Quote.ToString( "0000000#") + ".doc");
stmWriter.Write (strDocContent) ;
stmWriter.Close (); stmWriter.Dispo se();
am creating one application in dat i want to replace particular text(<<ABC>>) with a table in word document am using below code
but am getting text if i open the word document please help me
System.Text.Str ingBuilder strDocContent = strDocContent.R eplace("<<ABC>> ", "<table><tr><td >a</td></tr></table>");
System.IO.Strea mWriter stmWriter = new System.IO.Strea mWriter(ServerP ath + "Quotation " + Quote.ToString( "0000000#") + ".doc");
stmWriter.Write (strDocContent) ;
stmWriter.Close (); stmWriter.Dispo se();