输入banner图图片脚本导航/分类

使用commandbuilder修改datagridview数据然后更新到mysql数据库中遇到问题

datagridviewmysql数据数据库

图片说明
网上说使用commandbuilder需要先设置表的主键?这个有关系?