We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

60225 Apr 30,2007 05:15 PM Apr 30,2007 08:16 PM Windows Forms 1
loading
Tags: Grouping
James Blibo
Asked On April 30, 2007 05:15 PM

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?

haneefm [Syncfusion]
Replied On April 30, 2007 08:16 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;