关于事务的问题,?????????????
case "tlbSave ":
if (node.Text == " ") break;
//定义事务
SqlTransaction myTrans = KingLib.Db.conn.BeginTransaction();
try
{
if (myTrans != null)
{
//
SqlCommand sqlComm = KingLib.Db.conn.CreateCommand();
sqlComm.Transaction = myTrans;
}
if (btnName == "Edit ")
{
。。。操作