Hi friend
Please tell me why this error is occured in following code
error=ERROR [22018] [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
Please tell me why this error is occured in following code
error=ERROR [22018] [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
Code:
cmd = New OdbcCommand("INSERT INTO TableHR1 (No,name_of_candidate,Address,Date_of_birth,PhoneN o,Email, _
Design_Eng,CAE_Eng,Mkt,Accounting,It,Admin ,Experience,Industry,Current_CTC,InHand,ExpectedCT C, _
Exp_Inhand,Joining_Period,Iziel_Result,Iziel_Rem ark,Candidate_Remark) " _
& " VALUES ( '" + notxt.Text + "', '" + nametxt.Text + " ','" + Addresstxt.Text + _
" ',' " + DateOfBirthtxt.Text + "','" + Phonetxt.Text + "',' " _
+ Emailtxt.Text + " ','" + TextBox2.Text + "','" + TextBox3.Text _
+ "',' " + TextBox7.Text + "','" + TextBox4.Text + "','" + TextBox8.Text _
+ "','" + TextBox5.Text + "',' " + TextBox1.Text + "','" + TextBox6.Text _
+ "','" + CurrentCTCtxt.Text + "' ,'" + Inhandtxt.Text + "', '" + ExpectedCTCtxt.Text _
+ " ', '" + Expectedinhand.Text + "' ,' " + joiningtxt.Text + " ', '" _
+ iZielResultktxt.Text + " ','" + IzielRemarktxt.Text + "','" + CandidateResulttxt.Text + "')", con)
Comment