I'm trying to search for a customers "forename", "surname", and "customerid" to show into a combo box through the use of sql.
string strSql = "SELECT customerID&\" \" & forename &\" \" & surname AS FullName, surname FROM customer WHERE [customerID]='" + txtCustomerID.Text +"'";
Though with this code I get a "data mismatch exception" which I'm assuming is because I'm using a string and searching for an int?