Fork me on GitHub
魔芋铃

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; 

 

posted @ 2015-03-13 23:12  魔芋铃  阅读(451)  评论(0编辑  收藏  举报