Putting HTML string in cell

Hi,

I need to insert HTML string in cell. when i use PutValue(strHTML), html tags are displaying in cell. I don’t need to see html tags in cell, Is there any method to achieve this?

Hi,

Please use Cell.HtmlString property for your requirements.

Thank you.

Hi,

Thanks for your response, I tried HTMLString property on cell, but unfortunately it showing property is a readonly property, you can't assing value to this property.

oCell = oWorksheet.Cells["A2"];

oCell.HtmlString = "Welcome"; // Error: Showing property as readonly

Hi,

Thanks for your response, I tried HTMLString property on cell, but unfortunately it showing property is a readonly property, you can't assing value to this property.

oCell = oWorksheet.Cells["A2"];

oCell.HtmlString = "Welcome"; // Error: Showing property as readonly

Hi,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

You may be using some old version of Aspose.Cells. Please try the attached latest version and let us know if it works fine for you.

Thank You & Best Regards,

Hi,

Thank you for your response. yes, i used old version of Aspose.Cells. I replaced the old dll with new dll, it works fine for me.