record GetValue method operation on record with comma present in the data

I have a record that is defined like belo

TitleID = 15944, TitleName = COMEDY BLOCK 1, TitleDescr = COMEDY BLOCK 1 (15944) : 12A-1130P, M-F, Airs = 12A-1130P

rec.GetValue("TitleID"), rec.GetValue("TitleName") all works except calls to rec.GetValue("TitleDescr") and rec.GetValue("Air").

No exception is being thrown but the value return is null. My suspicion is that becausew there are commas in the value, so the method call is failing. Any thoughts?

1 Reply

HA haneefm Syncfusion Team May 1, 2007 12:16 AM UTC

Hi James,

Could you please double check the column before using the record.GetValue method?

In above code statement, you are misspelled the column "Airs".

rec.GetValue("Air");.//old code.
rec.GetValue("Airs").//new code.

Best regards,
Haneef

Loader.
Up arrow icon