摘要:
public static int AddUser(Entity.UserInfo user) { int id = 0; //使用存储过程实现添加数据 //proc_AddUser为存储过程名称 using (SqlCommand command = new SqlCommand("proc_AddUser", DBService.Conn)) { //指定command对象的执行方式 command.CommandType = CommandType.StoredProcedure; //指定存储过程的参数并赋值 command.Parameters.Add(" 阅读全文
posted @ 2012-02-08 11:19
子福当自强
阅读(381)
评论(0)
推荐(0)

浙公网安备 33010602011771号