Private Sub CreateGraph_DataSource(z1 As ZedGraphControl)
    Dim myPane As GraphPane = z1.GraphPane
 
    ' Set the titles
    myPane.Title.Text = "DataSourcePointList Test"
    myPane.XAxis.Title.Text = "Date"
    myPane.YAxis.Title.Text = "Freight Charges ($US)"
 
(----->    ' Create a new DataSourcePointList to handle the database connection
    Dim dspl As New DataSourcePointList()
    ' Create a TableAdapter instance to access the database
    Dim adapter As New NorthwindDataSetTableAdapters.OrdersTableAdapter()
    ' Create a DataTable and fill it with data from the database
    Dim table As NorthwindDataSet.OrdersDataTable = adapter.GetData()<---------)
 
    ' Specify the table as the data source
    dspl.DataSource = table
    ' The X data will come from the "OrderDate" column
    dspl.XDataMember = "OrderDate"
    ' The Y data will come from the "Freight" column
    dspl.YDataMember = "Freight"
    ' The Z data are not used
    dspl.ZDataMember = Nothing
    ' The Tag data will come from the "ShipName" column
    ' (note that this will just set PointPair.Tag = ShipName)
    dspl.TagDataMember = "ShipName"
 
 
 
 
lo que esta encerrado es   para enlazar un base de datos en access 
 
como la puedo cambiar para un base de datos normal (mysql , phpmyadmin ) 
 
 
por favor
:vientos:
:cute: 
  
 

