Lỗi khi không đồng bộ kiểu dữ liệu trong SQL server với code c#
Khi bạn tạo bảng trong cơ sở dữ liệu thì bạn phải nhớ thứ tự các thông tin đã nhập trong bảng sql
Ví dụ :
+Bảng mặt hàng trong SQL server
+Khai báo biến trong C#
=> như vậy khi bạn nhập thông tin trong win form thì các thông tin banh nhập sẽ gắn theo thứ tự tên biến bạn code vậy khi bạn thêm ,... thì nó sẽ xảy ra xung đột với csdl có trong SQL server
Lỗi khi không đồng bộ kiểu dữ liệu trong SQL server với code c#