2012年11月6日
摘要: 存储过程字段的定义 @Values string out as select @Values=字段名 from 表名 where 条件cs代码 var sqlcon=""; 数据库的连接 SqlConnection conn = new SqlConnection(sqlcon); SqlCommand com=new SqlCommand("存储过程名",conn); //创建sql命令 com.CommandType = CommandType.StoredProcedure; //使用sql的值 com.Parameters.Add("@ 阅读全文
posted @ 2012-11-06 21:18 ZhuFeiPing 阅读(191) 评论(0) 推荐(0)