Help needed
con.Open()
sql2 = "Select * FROM Staff "
cmd = New OleDbCommand(sql2, con)
dr = cmd.ExecuteReader
dr.Read()
txtStaffID.Text = dr.Item("Staff ID")
dr.Close()
con.Close()




Posted 06 October 2012 - 01:19 PM
con.Open()
sql2 = "Select * FROM Staff "
cmd = New OleDbCommand(sql2, con)
dr = cmd.ExecuteReader
dr.Read()
txtStaffID.Text = dr.Item("Staff ID")
dr.Close()
con.Close()
Posted 06 October 2012 - 01:56 PM
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
