Last post Jul 03, 2015 09:57 AM by l.laxmikant
Jul 01, 2015 10:45 PM|askmaan|LINK
Ho can we write to Excel file using the username and password programmatically in asp.net C#
So, the Excel file has in its security one username that can be mentioned in the code with its password
Jul 02, 2015 10:27 PM|Weibo Zhang|LINK
I think you could use
WorkbookObject.Password = password;
to protect your excel, for more things you could refer to the following links.
I hope it’s useful to you.
Jul 03, 2015 12:50 AM|anuj_koundal|LINK
Jul 03, 2015 09:57 AM|l.laxmikant|LINK
You will have to use Microsoft.Interop.Office.Excel to use features of excel
See an example on it
you can use workbook.password property to set password.
If you just want to convert your DataTable to CSV