FieldName enclosed in {} in IC1FlexReportRecordset

Posted by: info on 26 April 2022, 6:20 pm EST

    • Post Options:
    • Link

    Posted 26 April 2022, 6:20 pm EST


    C1.WPF.Report.Ja 6.0.20221.218

    I want to use the FieldName enclosed in {} in IC1FlexReportRecordset;

    Can I use “{}”?

    In this code

    _fields = new Dictionary<string, Type>()
    { "ID", typeof(int) },
    { "Name", typeof(string) },
    { "RegDate", typeof(DateTime) },

    so, I have ported to WPF like this

    1 _fields.Add("FieldName", typeof(string));
    2 _fields.Add("{FieldName}", typeof(string));

    1 is OK. GetFieldValue method is called.

    But “{FieldName}” is not recognized as a Key. GetFieldValue method is not called.

    in the .flxr file,

        <Name />
        <Name />
  • Posted 26 April 2022, 8:01 pm EST


    The Expression only requires the bounded property name without any other symbol.

    Just like a bounded Property name is Age, then we need to set Age in Expression without any symbol.



  • Posted 27 April 2022, 11:48 am EST

    Thank you

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels