Skip to Content
author's profile photo Former Member
Former Member

Nullable Types in .NET Objects

Hello!

I want to produce a report using an arraylist of .net objects as datasource. For this I defined a public class in my project having some properties. Now my question is: Is it possible to use nullable types as types for the properties? E.g. is it possible to use "int?" or "long?" as type for a property?

If not, is it planned to support nullable types in the next release of crystal reports?

Thank you for your help!

Best Regards,

Joachim Lukasser

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 21, 2009 at 04:13 PM

    I don't know. Have you attempted this at all? If so, did you get errors or other issues?

    I'd also recommend looking at the CHM file for the CR SDK. As you have not given me the version of CR you are working with I'm guessing either CR XI r2:

    C:\Program Files\Business Objects\Crystal Reports 11.5\Help\en\crsdk_net_doc\doc\crsdk_net_doc.chm

    Or CR 2008:

    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm

    Search for "Connecting to Object Collections"

    Ludek

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.