How can I add symbols to a cell using closedxml?

守給你的承諾、 提交于 2019-12-23 04:59:10

问题


I am inserting data into a dummy excel. I need to append symbols before texts into some cell. Please let me know how can i achieve this using ClosedXML.


回答1:


In ClosedXML, you can set this value with this code:

ws.Cell(1, 1).Value = "❶ Symbol";

To enter the ❶, you can use the Windows program Character Map to select and copy the appropriate character.



来源:https://stackoverflow.com/questions/39489347/how-can-i-add-symbols-to-a-cell-using-closedxml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!