Click here to Skip to main content
12,695,624 members (30,587 online)
Rate this:
 
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 31-Dec-12 4:40am
   
What is your data source?
ajay.anilmaddi 31-Dec-12 4:45am
   
datatable
ajay.anilmaddi 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 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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 31 Dec 2012
Copyright © CodeProject, 1999-2017
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