jayleke

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

 

SqlParameter[] arParms = new SqlParameter[4]; 

arParms[0]   =   New   SqlParameter( "@A ",   SqlDbType.VarChar,   20) 
arParms[0].Value   =   A 

arParms[1]   =   New   SqlParameter( "@B ",   SqlDbType.VarChar,   20) 
arParms[1].Value   =   B 

arParms[2]   =   New   SqlParameter( "@C ",   SqlDbType.Int) 
arParms[2].Value   =   C     

SqlHelper.ExecuteNonQuery(strConnectionString,   CommandType.StoredProcedure,   “spName”,   arParms)

 

posted on 2010-09-05 22:21  jayleke  阅读(626)  评论(0编辑  收藏  举报
葳蕤工作室