Data is not inserting into table?

前端 未结 5 1097
轮回少年
轮回少年 2020-12-11 11:02

My table name is Customer. It has four columns

CustomerId
CustomerName
CustomerAddress
PhoneNo

This is my c# code. I am not ge

5条回答
  •  眼角桃花
    2020-12-11 11:34

    Is CustomerId setup as an AutoIncrementing PK on the Customer table? Also, you do not need the single quote (') on the '@CustAdd' param;

提交回复
热议问题