longhorn008

 

存储过程使用记录

bigint,int,ntext 不需要指定大小,有多个参数时用逗号。
asp.net 调用
SqlCommand mycomm=new SqlCommand("存储过程",conn);
mycomm.CommandType=CommandType.StoredProduce; //指定command类型为存储过程
SqlParameter para=mycomm.SqlParameter.Add("@para",SqlDbType.bigint,8);//添加参数
para.Value=..  ;  //指定参数值

posted on 2005-08-26 22:20  R9's Blog  阅读(202)  评论(0编辑  收藏  举报

导航