none
Arythmetic Evaluator RRS feed

  • Question

  • I’m writing arithmetic expression evaluator because expression offer by dataset is too basic to my work. Evaluator isn’t problem. I want to create most useful component.

    I create component, which inherit from BindingSource. Everything is ok for common problem but for me everyday work I use DevExpress controls.

    Now problem:

    I set expression for bindingsurce where I recalculate value if it is necessary

    I very often I use multi level grid and problem for me am child level. I don’t know how in BindingSource component find PropertyDescriptor for child tables. When I bind to my bindingsource component dataset and datamember set to parent datatable if I get PropertyDescriptorCollection in last element I have element, which is IbindingList.

    Sollution for me problem could be use separate bindingsource for each level but it isn’t elegant. I want use one bindingsource for grid and set expression with parameter datameber.

     

     

    Is it possible find PropertyDescriptor for child tables?

    Maybe my solution for this problem is wrong I will be very thankful for any suggestion.
    Saturday, June 30, 2007 12:58 PM