My code is
Dim tmpSQL_2 = New StringBuilder
tmpSQL_2.AppendLine("Insert into table(tbl_ID,tbl_Type,tbl_Type) ")
tmpSQL_2.AppendLine(" VALUES ")
tmpSQL_2.AppendLine("(@tbl_ID,@tbl_Type,@tbl_Type) ")
Using tmpCMD As New OleDbCommand(tmpSQL_2.ToString, conn)
tmpCMD.Parameters.AddWithValue("@tbl_ID", "0")
tmpCMD.Parameters.AddWithValue("@tbl_Type", "my type")
tmpCMD.Parameters.AddWithValue("@tbl_Ser_Id", "my type")
tmpCMD.ExecuteNonQuery()
End Using
for inserting into table but it is not working.
I'm not getting any error also. what should be the problem ?