对数据库进行增删改方法(使用事务) public void ExcuteNonQuery SqlTransaction trans CommandType ct string cmdTxt SqlParameter[] cmdParms { SqlCommand cmd new SqlCommand ; this Preparecommand cmd trans Connection trans ct cmdTxt cmdParms ; cmd ExecuteNonQuery ; cmd Parameters Clear ;"> 对数据库进行增删改方法(使用事务) public void ExcuteNonQuery SqlTransaction trans CommandType ct string cmdTxt SqlParameter[] cmdParms { SqlCommand cmd new SqlCommand ; this Preparecommand cmd trans Connection trans ct cmdTxt cmdPar [更多] ; this Preparecommand cmd trans Connection trans ct cmdTxt cmdPar [更多]