2007年2月13日
摘要: // detach the SqlParameters from the command object, so they can be used again.cmd.Parameters.Clear(); 这句话在某些时候非常有用,比如说你在一个事务中调用了2个以上的存储过程,而恰巧这两个存储过程又有同样的参数,(例如 @p_Name) 这时不加cmd.Parameters.Clear() ... 阅读全文
posted @ 2007-02-13 16:07 min.jiang 阅读(2180) 评论(0) 推荐(0) 编辑