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

    How to create Read Only Excel file In c# MVC Using Database ?

    How to create Read Only Excel file In c# MVC Using Database ?
  • #769255
    Hi, try spire.xls to export data from database to Excel and then protect the worksheet as read only.

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

    Lock worksheets:

    https://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/Excel-Lock-Easily-Lock-Excel-Worksheet-in-C-VB.NET.html


Sign In to post your comments