472,146 Members | 1,586 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,146 software developers and data experts.

Export DataGrid to Excel

Hi,

I have a DataGrid in which there are some images and Data are displayed and
in the webform.asp page i am using some stylesheets. when i export the
datagrid all the images are also exported to datagrid and it is giving an
alert that following stylesheets are missing when i export it. can anyone
help me about this problem.
I have seen the sites and articles regarding the datagrid export to excel.
but still i am getting the same problem.
Thanks in advance.
Nov 19 '05 #1
2 2343
From my experience style sheets don't play very well with Excel.
I'd suggest that you remove the style sheet references and instead use
inline styles for the individual elements.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Bidarkota" <pr******@yahoo.com> wrote in message
news:A1**********************************@microsof t.com...
Hi,

I have a DataGrid in which there are some images and Data are displayed
and
in the webform.asp page i am using some stylesheets. when i export the
datagrid all the images are also exported to datagrid and it is giving an
alert that following stylesheets are missing when i export it. can anyone
help me about this problem.
I have seen the sites and articles regarding the datagrid export to excel.
but still i am getting the same problem.
Thanks in advance.

Nov 19 '05 #2
I have to use the stylesheets in my ASPX Page. when i try to export all the
HTML contents in that page is also getting exported. Is there any other
solution for this.

Thank you

"Bidarkota" wrote:
Hi,

I have a DataGrid in which there are some images and Data are displayed and
in the webform.asp page i am using some stylesheets. when i export the
datagrid all the images are also exported to datagrid and it is giving an
alert that following stylesheets are missing when i export it. can anyone
help me about this problem.
I have seen the sites and articles regarding the datagrid export to excel.
but still i am getting the same problem.
Thanks in advance.

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Bidarkota | last post: by
reply views Thread by sunilkumar Reddy via DotNetMonster.com | last post: by
6 posts views Thread by Sridhar | last post: by
4 posts views Thread by Frank | last post: by
19 posts views Thread by cj2 | last post: by
5 posts views Thread by Reggie | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.