467,077 Members | 1,046 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,077 developers. It's quick & easy.

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
  • viewed: 2131
Share:
2 Replies
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
7 posts views Thread by mattmerc@bellsouth.net | last post: by
19 posts views Thread by cj2 | last post: by
5 posts views Thread by Reggie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.