Bind MSChart20 to .Net Datagrid

mdmilner
03-30-2006, 12:48 PM
Can it?

I noticed this from elsewhere on this board:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjvtchartobject.asp

Although the article talks about the control being associated to a Datagrid, it is in the legacy section and I'm wondering if this could be referring to VB6, not .Net.

And, peeking at this:
http://www.xtremevbtalk.com/showthread.php?t=235241&highlight=chtSales+ChartData

This suggests that I can use an ADO recordset as a chartsource - which if I've followed other comments also on this forum, isn't really all that compatible with a datatable.

I can always just make this work by reading the datagrid contents into an array, but is there a simpler - more direct - and possibly faster way?

Mike

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum