1 Replies - 3779 Views - Last Post: 17 August 2010 - 04:54 AM Rate Topic: -----

#1 Tinkabell  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 26-March 10

How do you populate MSChart from DataGrid / Access DB

Posted 26 March 2010 - 09:30 AM

Hello

I have a datagrid on my form which displays a data table from a DataSet (extracted from an Access DB) when the user selects an option from a combo box on the form. I would like this same data to be displayed in an MSChart on the same page but I dont know how to link the chart to the DataSet.

To populate the datagrid i have used the following code:

DataGridView1.DataSource = K0201227ProjectDataSet.tblCardiff


I tried various things to populate the MSChart with this same data but no luck. I guess I have to specify what data from the DataSet I want to display in the Chart but I dont know how to do this at run time(??)

Please help!

Thank you :)
Amy
:notify:

Is This A Good Question/Topic? 0
  • +

Replies To: How do you populate MSChart from DataGrid / Access DB

#2 Tinkabell  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 26-March 10

Re: How do you populate MSChart from DataGrid / Access DB

Posted 17 August 2010 - 04:54 AM

Can anybody help with this?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1