SqlParameter[] parameters

SqlParameter[] parameters = { 
               new SqlParameter("@rdTypeName", readertype.rdTypeName),
              new SqlParameter("@CanLendQty", readertype.CanLendQty),
}
或是
SqlParameter[] parameters = { 
               new SqlParameter("@CanContinueTimes", SqlDbType.Int),
               new SqlParameter("@PunishRate", SqlDbType.Char, 5), }
 parameters[5].Value = readertype.DataValid;
            parameters[6].Value = readertype.rdType; 

 

你可能感兴趣的:(parameter)