hi
i have textbox and i want to insert this text into access db but the field in db is number so i tried both functions val and cint to convert text to integer while iam inserting at the same time but i got error : Input string was not in correct format!
this is my code:
cmcontact.CommandText = "insert into table1_local(id) values" + (Val(Me.TextBox1.Text)) + ";"