hi,
I am afraid there is something wrong here
Dim insertStr As String = "INSERT INTO Employees" + _
"(EmployeeID,FirstName,LatName,Location,HireDate,TerminationDate,Supervisor)" + _
"VALUES (empID,firstName,lastName,location,hireDate,termDate,dept,super)"
try this
Dim insertStr As String = "INSERT INTO Employees" + _
"(EmployeeID,FirstName,LatName,Location,HireDate,TerminationDate,Supervisor)" + _
"VALUES (@empID,@firstName,@lastName,@location,@hireDate,@termDate,@dept,@super)"
Dim PempID As New System.Data.SqlClient.SqlParameter
PempID.ParameterName = "@empID"
PempID.Value =empID
PempID.DbType = Data.DbType.Int32
and add the other parameters like above
have a try