You must Sign In to post a response.
  • Category: ASP.NET

    How to generate password protected excel from gridview in asp.net

    Hello Friends,
    I have a requirement in which I need to export my grid into excel and this excel should be password protected.

    please share any link or logic to implement the same.

    Thanks in advance
    Navneet
  • #762781
    Spire.XLS for .NET may meet your needs.

    Export Datatable to Excel from Database:
    http://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/Data-Export-/Import-Export-Datatable-to-Excel-from-Database.html

    Protect Excel Workbook and Worksheet in C#:

    http://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/NET-Protect-Excel-Protect-Excel-Workbook-and-Worksheet.html

    It has a free version but has some limits.


Sign In to post your comments