vb.net MYSQL Pie Chart (newbie)
vb.net MYSQL Pie Chart (newbie) image1this is my code from pie chart but it is not showing help plz :(. the database is scholar1. and datascholar is the student who is registered from the table.every student has there own year level so i create a pie chart .who has many registered student in the pie chart. 1st year to 5th year. Private Sub chartbtn_Click(ByVal sender As Object, e As EventArgs) Handles chartbtn.Click TabControl1.SelectTab(2) Label4.Text = "PGO - SCHOLAR : CHART" Dim connection As New MySqlConnection connection.ConnectionString = "server=localhost;userid=root;password=;database=scholar1;SslMode=none" Dim READER As MySqlDataReader Dim query As String Try connection.Open() query = "SELECT * FROM datascholar" Dim command As New MySqlCommand(query, connection) READER = command.ExecuteReader While READER.Read Chart1.Series("Year_Level").Points.AddXY(READER....