在VS里附加mdf数据库,用commandtext写insert命令,executenonquery返回值为1,show table data没更新在VS里附加mdf数据库,用commandtext写insert命令,executenonquery返回值为1,show table data没更新这是怎么个回事,把命令移动sql执行也成功,在程序里返回值1表示成功吧,但是数据有不变 [解决办法]你的方法都是怎么写的?