Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Visual basic Chart control 3.5 refresh

  • 23-02-2011 7:19pm
    #1
    Closed Accounts Posts: 22


    Im using visual studio 2008. Coding in visual basic creating a dashboard. I have sevral combo boxes on my page and im updating my chart based on these values. I have an SQL statement that takes the valuse and gets the results from the database. But the chart will only be created once, is there a way to update the chart, refresh or dispose of the control and then build it again?


Comments

  • Moderators, Society & Culture Moderators Posts: 9,689 Mod ✭✭✭✭stevenmu


    Not very familiar with the control, but at some point in your code I presume you're claling something like myChartControl.DataBind(). If so you can just call that again after updating your table and the chart should refresh.


Advertisement