-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: thelionpalanadu
Message 7 in Discussion
Hi,
ASPX page contains Data grid and Tables and Text and Pictures.
When I am exporting ASPX page data into word document, the pictures are not
uploading into word document.
The code for export Button:
private void btnExport_Click(object sender, System.EventArgs e)
{
string FileName= "File1.doc";
Response.Clear();
Response.Charset = "";
Response.Clear();
Response.Charset = "";
Response.ContentType = "application/vnd.ms-word";
Response.AddHeader("Content-Disposition",
"inline;filename="+ FileName);
System.IO.StringWriter sw=new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter hw=new
System.Web.UI.HtmlTextWriter(sw);
Page.RenderControl(hw);
Response.Write(sw.ToString());
Response.End();
}
When I click the export button it opens the word document and writes the
text, data grid, tables (with Data).But pictures are not coming to word
document.
Can any one help me how to write pictures (images) into word document?
Thanks in advance,
Regards
Malli
_________________________________________________________________
Sexy, sultry, sensuous. - see why Bipasha Basu is all that and more. Try MSN
Search http://server1.msn.co.in/Profile/bipashabasu.asp
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]