I made the following correction:
string selectcmd = "SELECT EmployeeID,LastName,FirstName FROM Employees WHERE FirstName = " + "'" + mykey + "'";
and it worked, thank you. but how would I pass 'mykey' as a parameter?
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life. John 3:16