Click here to Skip to main content
12,396,149 members (62,156 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET
i want to export gridview data in excel sheet but when we export excel file then exported file is not own made formatted excel sheet and can you give a suitable code for me.
Posted 5-Oct-12 20:50pm
Comments
Sandeep Mewara 6-Oct-12 3:49am
   
can you give a suitable code for me
Why? What have you tried.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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

Solution 4

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

Solution 5

You can do this by first get all grid data into dataset.then you can write it to excel sheet.see for interop excel application object in asp.net it helps you to write data to excel.Develop and increase your logic its helps you to become good software developer.dont rly on others code.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 6

Please Visit:- Export To Excel
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 10

Try following solved solution of your problem

Export Gridview Data to Excel in ASP.NET[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 7

I think below article can help you:
9 Solutions to Export Data to Excel for ASP.NET[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 8

Quote:

Hi please check out this it may help some one...
Excel :
http://reddyinfosoft.blogspot.in/2012/08/export-gridview-data-to-excel-using.html[^]

PDF :
http://reddyinfosoft.blogspot.com/2012/08/export-gridview-data-to-pdf-using.html[^]

and Word :

http://reddyinfosoft.blogspot.com/2012/08/export-gridview-data-to-word-using.html
  Permalink  

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.160721.1 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2016
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