Export DataGrid to Excel

G

Guest

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.
 
S

Steve C. Orr [MVP, MCSD]

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top