Hi all, first post here.
I am using the chart control to graph, unit sales for an item, selected from a dropdown list. This works perfectly, for the first selected item, but fails on the second, at this line
Chart1.DataBindTable(myReader, "Period")
I know it is because I am trying to Bind again, but how do I unbind the first set of data. I have tried Chart1.dispose(), but am just guessing for the correct answer. Hoping someone can steer me in the right direction.
Thanks
I am using the chart control to graph, unit sales for an item, selected from a dropdown list. This works perfectly, for the first selected item, but fails on the second, at this line
Chart1.DataBindTable(myReader, "Period")
I know it is because I am trying to Bind again, but how do I unbind the first set of data. I have tried Chart1.dispose(), but am just guessing for the correct answer. Hoping someone can steer me in the right direction.
Thanks