Password Protected Excel Download using EPPLUS

前端 未结 4 685

I am exporting data in Excel form using EPPLUS Excel Library. I want that when excel downloaded it will ask for password. I have tried following code.

4条回答
  •  一个人的身影
    2021-01-02 21:50

    package.GetAsByteArray("sometest"); ---> this will protect your excel sheet with password sometest :)

提交回复
热议问题