Dundas Chart的高手帮帮忙! 碰到个郁闷的问题
Chart2.DataSource = ds;
Chart2.Series["Series 1"].ValueMemberX = "year";
Chart2.Series["Series 1"].ValueMembersY = "num";
Chart2.DataBind();
这是代码
不管怎么运行都会报错,错误提示如下:
Can not set Y Value of the data point to a string.
到底是什么地方不对呢
我用DataBindXY方法也抱这个错误。
想去跳楼啊!人家用着就不会报错