forum

Home / DeveloperSection / Forums / DataTable HTML in Add Rows new object[]

DataTable HTML in Add Rows new object[]

Anonymous User 2206 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.


Updated on 18-Jan-2015
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By