Formatting Cells

Hi there,

I'm having a bit of trouble formatting cells on an ITable using VB.NET. I am populating my data into a Datatable and then importing the data into an ITable. I am then iterating through the ITable and formatting the cells with the appropriate font type. (Find Code Attached). What I would like to do is to apply another Font if the string "Not owned by COMPANY" is found in one of the cells. I thought that the following would work but I just keep gettign an empty string:

If (ComponentsTable.Rows(i).Cells(j).Value = "Not owned by COMPANY") Then
ComponentsTable.Rows(i).Cells(j).Style.TextFont = ChapterItalicsFontBoldRed
End If

Any ideas what I am doing wrong here?

Thanks


1 Reply

YG Yavanaarasi G Syncfusion Team April 18, 2008 01:40 PM UTC

Hi Dave,

This is the duplicate forum of
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=72943

Please refer the above link.

Regards,
G.Yavana


Loader.
Up arrow icon