ExecuteScalar requires the command to have a transaction when the connection assigned to the command is in a pending

ExecuteScalar requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized.

 

 

 

posted on 2009-05-20 21:33  船长  阅读(1199)  评论(0编辑  收藏  举报