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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





60225 Apr 30,2007 09:15 PM UTC May 1,2007 12:16 AM UTC WinForms 1
Tags: Grouping
James Blibo
Asked On April 30, 2007 09:15 PM UTC

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 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,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon