David Qian

If there's a problem, just resolve it yourself

2009年2月12日

为什么 SqlCommand.ExecuteNonQuery() 方法返回 -1?

摘要: 不知道大家在使用ExecuteNonQuery方法的时候有没有碰到过返回-1的情况。ExecuteNonQuery方法返回增删改时,受影响的行数。那怎么会返回-1呢? 阅读全文

posted @ 2009-02-12 10:17 Wencui 阅读(7890) 评论(9) 推荐(1) 编辑