该文被密码保护。 阅读全文
posted @ 2011-09-26 22:08 lieneces 阅读(8) 评论(0) 推荐(0) 编辑
摘要: SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["连接字符串"].ConnectionString); SqlCommand cmd = new SqlCommand("存储过程名称", conn); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@参数1", 值1); cmd.Parameters.AddWithValue 阅读全文
posted @ 2011-09-26 15:05 lieneces 阅读(111) 评论(0) 推荐(0) 编辑