Hi @Lalit Acharekar ，
I tested with the code you provided and it was able to update to the chart whenever I added new data to the database.
Could you please provide more information about your problem?
Dim con As SqlConnection = New SqlConnection(ConString) Private Sub finaltest() ... End Sub Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick finaltest() End Sub Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click con.Open() Timer1.Start() End Sub Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Timer1.Stop() con.Close() End Sub
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.