Has anyone got this exception thrown when using the the controls databinding methods??
I have a data structure like this
public class ChartData { public int Year {get;set;} public decimal Stat {get;set;} }
Its collection is
List<ChartData> cData;
So i bind this object as
chart1.BindXY(cData,'Year',cData,'Stat');
I get same exception when using other databinding methods too
What is chart1?
Is that an external charting component?
Open the charting component dll using reflector OR see the docs for appropriate method to use.