Inserting data into a MySQL table using VB.NET

前端 未结 6 2049
别跟我提以往
别跟我提以往 2020-12-10 20:46

I have a problem inserting data into a table on a MySQL database using a VB.NET application. I have a simple form where when I set some data to the textboxes and I press a

6条回答
  •  我在风中等你
    2020-12-10 21:39

    your str_carSql should be exactly like this:

    str_carSql = "insert into members_car (car_id, member_id, model, color, chassis_id, plate_number, code) values (@id,@m_id,@model,@color,@ch_id,@pt_num,@code)"
    

    Good Luck

提交回复
热议问题