how to write insert query to insert combobox text to msaccess database
Hi , i have a combobox CMBYEAR , i written this query to insert combobox data into the msaccess databse
but it is giving the error (Dara type mismatch in criteria expression) if i use textbox it is insertin fine why plss help me on this
my code is
aCommand.Connection.Open();
aCommand.ExecuteNonQuery();
aCommand.Connection.Close();