-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: ZuzarAli
Message 3 in Discussion
<o:p></o:p>
Hi
Jeff,<o:p></o:p>
The
following piece of code will save the contents of the page to the excel file including
the datagrid.<o:p></o:p>
<o:p> </o:p>
Dim strHeaderName
As String<o:p></o:p>
Dim strHeaderValue
As String<o:p></o:p>
Response.ContentType
= "application/vnd.ms-excel"<o:p></o:p>
strHeaderName
= "Content-Disposition"<o:p></o:p>
strHeaderValue
= "attachment;filename=YourFileName.xls"<o:p></o:p>
Response.AddHeader(strHeaderName,
strHeaderValue)<o:p></o:p>
<o:p> </o:p>
Regards,<o:p></o:p>
Zuzar L.<o:p></o:p>
<o:p> </o:p>
<o:p> </o:p>
Being guru is not about
knowing the answer, but knowing how to search for an answer<o:p></o:p>
<o:p> </o:p>
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/mumbaiusergroup/_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]