Users Pricing

forum

Home Forums DataTable HTML in Add Rows new object[] – MindStick

DataTable HTML in Add Rows new object[]

Anonymous User 2712 18 Jan 2015

I created a DataTable and I am adding new rows with new object[].

DataTable dt = new DataTable();

 

dt.Rows.Add(new object[] { "Hello", "World", "<i>Test</i>" });

In the object[] array I got some values that are shown in the DataTable.

I would like to add some HTML styling, is this possible like above? I would like to have the Testshown as italic.

Thanks in advance.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md