Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

New Post: Applying HTML tags to output

$
0
0
I am using NPOI to write content to an excel file like this:

CreateCell(wb, qandARow, styQuestions, question.QuestionDescription, question.Level);

However some of the question.QuestionDescription contains Html tags like <b></b>.

How can I have these tags applied to the excel file?

for example if question.QuestionDescription = "hello <b>world</b>, hi" it would show up in excel as "hello world, hi"

Viewing all articles
Browse latest Browse all 1621

Trending Articles