Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi All,
 
How to export the HTML table data to excel with hepl of object.
I searched but i did'nt get the result.
 
Please guide me..
 
Thanks&Regarda,
Anilkumar.M
Posted 30-Dec-12 23:28pm
Comments
B1n4ry D1g1t at 31-Dec-12 4:40am
   
What is your data source?
ajay.anilmaddi at 31-Dec-12 4:45am
   
datatable
ajay.anilmaddi at 31-Dec-12 5:08am
   
but i am using that datable and prepare the HTML tabe from code behind and apply the some colors and borders and display some other cells with background image..finall result is html table...how can i export with background image on paticular cell ???

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
ajay.anilmaddi at 31-Dec-12 5:05am
   
but i am using that datable and prepare the HTML tabe from code behind and apply the some colors and borders and display some other cells with background image..finall result is html table...how can i export with background image on paticular cell ???
Suvabrata Roy at 31-Dec-12 5:33am
   
you can create the same page in you sever and when you required just binary write the html file in you page with content type Excel.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Kornfeld Eliyahu Peter 169
1 Zoltán Zörgő 139
2 George Jonsson 135
3 PIEBALDconsult 130
4 OriginalGriff 120
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,107
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,342


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 31 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100