Exporting gridview to pdf,word,excel

Hi All,

I created a gridview in visual studio.

That Gridview data should export to PDF,Word and Excel.

Please you please let me .

Thank you,

Sowjanya.

May 27th, 2014 5:47pm

Hi ,

Please find below ref for same..

http://www.aspsnippets.com/Articles/Export-DataSet-or-DataTable-to-Word-Excel-PDF-and-CSV-Formats.aspx

Best Regards Kuldeep Verma
Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

Free Windows Admin Tool Kit Click here and download it now
May 27th, 2014 10:42pm

Hello,

Convert to word/excel is not a big deal, that you can do without third party tool. BUt to convert into PDF you will need third party tool or Itextsharp support.

refer this link for more info:

http://www.c-sharpcorner.com/Blogs/12486/export-gridview-data-to-excel-word-pdf-text-and-csv-forma.aspx

May 28th, 2014 7:15am

Hi,

Here are two articles for your reference:

Export GridView to doc/access/csv/Excel/pdf/xml/html/text/print
http://code.msdn.microsoft.com/office/Export-GridView-to-07c9f836#content

How to convert GridView data to Excel, PDF, Word file using C#
http://www.codeproject.com/Tips/375965/How-to-convert-GridView-data-to-Excel-PDF-Word-fil

If you want to achieve it in a Visual Web Part, here is a similar thread for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/94931a08-f204-4d30-a230-f468815a76e8/export-aspnet-gridview-to-pdf-from-visual-webpart?forum=sharepoi

Best Regards

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2014 7:20am

Hi ,

Thank you for all of you.

For giving the nice links.

Thank you,

Sowjanya.

May 28th, 2014 2:48pm

Hi All,

In the grid I am having columns like ,name, meeting data, and Meeting time.

I want to do group by Name, group by Meeting Date.

I mentioned in the drop down .

Please let me know how to do.

Thank you,

Sowjanya. 

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2014 4:42pm

Here is some ref links:

http://www.aspdotnet-suresh.com/2013/09/group-columns-in-gridview-header-row-aspnet.html

http://www.c-sharpcorner.com/UploadFile/e06010/grouping-in-Asp-Net-gridview/

http://www.aspsnippets.com/Articles/Implement-GridView-Grouping-Group-similar-GridView-Rows-in-ASPNet.aspx

May 29th, 2014 5:03am

Hi Hemendra,

I am having a search box.

I need to search the columns from the grid that values r coming from sharepoint list.

I want to search both document type and document name.

Is it possible.

Any help please.

Thank you,

Sowjanya.

Free Windows Admin Tool Kit Click here and download it now
June 5th, 2014 9:08pm

Once you bind your grid with data then you can add search functionality to search data within a grid.

http://www.aspdotnet-suresh.com/2011/12/search-records-in-gridview-and.html

http://weblogs.asp.net/dotnetstories/adding-search-functionality-in-a-gridview-in-an-asp-net-application

June 9th, 2014 5:14am

One you need here http://www.aspsnippets.com/Red/Articles/Export-GridView-To-Word-Excel-PDF-CSV-Formats-in-ASP.Net.aspx
Free Windows Admin Tool Kit Click here and download it now
May 26th, 2015 11:55pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics