title: plot a line graph in vb.net
body: <p>this is my function for plotting a graph in vb.net how I'm going to replace the ("Jon", 10),("Jordan", 8) with a value that i search from database ?</p>
  
  <pre><code> Private Sub chart_btn_Click(ByVal sender As System.Object, ByVal e As   System.EventArgs) Handles chart_btn.Click
  
   Chart1.Series("Student").Points.AddXY("Jon", 10)
   Chart1.Series("Student").Points.AddXY("Jordan", 8)
   Chart1.Series("Student").ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar
   End Sub
  </code></pre>