摘要:
/// /// 执行参数查询/// /// 数据库执行命令/// 数据库链接命令/// 事务/// 查询语句/// 查询参数/// private static void PrepareCommand(SqlCommand cmd, SqlConnection conn, SqlTransaction trans, string cmdText, SqlParameter[] cmdParms) { if (conn.State != ConnectionState.Open) conn.Open(); cmd.Connection = conn; cmd.CommandText = cmdT 阅读全文