How can the DataGridView render HTML tags from a DataTable Rows or from a Database?

Answered
0
0

Hello Friends! Greetings to you

I’ve a task of loading some data from the database into a DataGridView Control but the data contains some HTML tags that need to be rendered correctly. How can I achieve this?

Thanks

  • You must to post comments
Best Answer
0
0

Hi Ngabo,

just set the AllowHtml property to true for columns containing HTML data.

Best regards
Frank

  • Ngabo Adrian
    Thank you very much. It has worked as expected!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.