Dim con As New OleDb.OleDbConnection
Dim ds As New DataSet
Dim da As OleDb.OleDbDataAdapter
Dim sql As String
con.ConnectionString = "PROVIDER= Microsoft.Jet.OLEDB.4.0; Data
Source = D:\Adrian\Adrian1.mdb"
con.Open()
MsgBox("A Connection to the Database is now open")
sql = "SELECT * FROM tblStaffs"
da = New OleDb.OleDbDataAdapter(sql, con)
da.Fill(ds, " ") ---> got error with this code it show green color, what
wrong with it anyway? the name of the ds what should i put?
Dim ds As New DataSet
Dim da As OleDb.OleDbDataAdapter
Dim sql As String
con.ConnectionString = "PROVIDER= Microsoft.Jet.OLEDB.4.0; Data
Source = D:\Adrian\Adrian1.mdb"
con.Open()
MsgBox("A Connection to the Database is now open")
sql = "SELECT * FROM tblStaffs"
da = New OleDb.OleDbDataAdapter(sql, con)
da.Fill(ds, " ") ---> got error with this code it show green color, what
wrong with it anyway? the name of the ds what should i put?