adoCmd.Connection = adoConnection adoCmd.CommandType = CommandType.Text adoCmd.CommandText = "SELECT * FROM viewOfNames where department = "Accounts"" adoRdr = adoCmd.ExecuteReader() While adoRdr.Read() sTest = adoRdr(Surname) sTest2 = adoRdr(Forename) sTest3 = adoRdr(Department) End While
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)