Click here to Skip to main content
15,886,518 members
Articles / Web Development / ASP.NET

Gridview data Export in excel

Rate me:
Please Sign up or sign in to vote.
3.50/5 (2 votes)
3 Oct 2012CPOL 5.2K  
Hello Friends,I have another problem for export data which is bind in grid view.I have many column in grid view ans some Bound Field is visible= false.When I want to export data in Excel I also want to export BouldField value which is hide.Here is my gridview.<asp:GridView...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
3 Oct 2012Rohit Shrivastava
I would recommend to use Sql Reporting services to export to excel / print functionality. You can choose client reporting which is rdlc which would be more suitable for you as you have data on client side.ThanksRohit
Please Sign up or sign in to vote.
3 Oct 2012Santhosh Kumar Jayaraman
try thisExport DataTable to Excel with Formatting in C#[^]

License

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


Written By
Software Developer Ajwan Internation Co WLL
Kuwait Kuwait
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions