2013년 7월 9일 화요일

C# MSChart - DataTable 바인딩

몇 시간을 삽질한건지... for문 돌리다 짜증나서 찾아봤는데 결국 찾음.


DataView cview = new DataView(dataTable);
chart1.Series[0].Points.DataBindXY(cview, "aaa", cview, "bbb");


이래하면 된다는...

댓글 없음:

댓글 쓰기