简体   繁体   中英

How to make Excel sheet readonly using asp.net?

My Task is to generate excel sheet as read only(i e., columns data should not be editable) using asp.net? I am getting data from the database,then am generating the excel sheet for that data but it is editable.I want to make my excel sheet as non editable. How should I do? Anybody can please help me?

I have written code like this..

Thanks in Advance....

Try to look this topic - first and second . Second one offers a solution even for cells.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM