开发者

DataSet doesn't generate the updatecommand in new tables

开发者 https://www.devze.com 2022-12-17 11:38 出处:网络
When i try to insert a my database\'s table in my dataset, it doesn\'t generate the update command like had done with other tables.

When i try to insert a my database's table in my dataset, it doesn't generate the update command like had done with other tables. It generates only insert and select commands

How can i do to generate it without write it manua开发者_运维技巧lly?

thanks


I solved. I had forgotten the primary key on my sql server table.

0

精彩评论

暂无评论...
验证码 换一张
取 消