.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Export Grid View to Excel

Posted By: venu     Posted Date: July 16, 2011    Points:5   Category :ASP.Net
Hi Friends!

Could you please send the code in vb.net to export Gridview data to excel.
I gone thorough google but everyone giving the same which is not satisfying me.In those codes when i export the data form grid to excel, in excel only the gridview data is displaying in table structure and remaining page is displaying as like word document.I need the code to export excel and after open the excel file it should look like same as excel with out blank like word document.


Regards
----------
Venu

Responses
Author: Ravi Ranjan Kumar             
Posted Date: July 17, 2011     Points: 20   

hey! if you did some work then please show your effort then we can easily justify with your code and can found out whats wrong you are doing. whatever Google have lots of article regarding to question "Export Gridview to Excel". I am suggesting you to navigate given link
http://mattberseth.com/blog/2007/04/export_gridview_to_excel_1.html
The article have download source code link too. I hope this article will help you :)

Thanks & Regards
Ravi Ranjan Kumar
http://raviranjankr.wordpress.com
Author: Narayanan             
Posted Date: July 17, 2011     Points: 20   

Hi,
Try this
http://geekswithblogs.net/azamsharp/archive/2005/12/21/63843.aspx

Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
Author: Gowthammanju             
Posted Date: July 29, 2011     Points: 20   


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend