07 2018 档案
摘要:@{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <script src="~/Scripts/jquery
阅读全文
摘要:@{ Layout = null;}@model List<Model.stuclass><!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <
阅读全文
摘要:public ActionResult UPD(int id) { ViewBag.StuCLassID = new SelectList(bl.Listselect(), "CLASSID", "CLASSNAME"); return View(bl.UPDA(id)); }
阅读全文
摘要:public ActionResult Index() { return View(GetStudetPage()); } [HttpPost] public ActionResult Index(string StuName, DateTime? StuKTime, DateTime? StuJT
阅读全文
摘要:public stuclass UPDA(int id) { SqlParameter[] par = new SqlParameter[] { new SqlParameter ("StuID",id) }; DataTable dt = DbHelperSQL.ExecuteDataTable(
阅读全文
摘要:public Pages<stuclass> GetStudetPage(PageParams pagePar) { int size = pagePar.PageSize; string sql = "[dbo].[p_paging]"; SqlParameter[] par = new SqlP
阅读全文
摘要:public class PageParams { /// <summary> /// 表名、视图名 /// </summary> public string TableName { get; set; } /// <summary> /// 标识列名(如:比如主键、标识,推荐使用索引列) ///
阅读全文
摘要:public class Pages<T> where T:class { /// <summary> /// 数据总条数 /// </summary> public int SumCount { get; set; } /// <summary> /// 数据总页数 /// </summary>
阅读全文
摘要:@model List<Model.stuclass> <table style="width:100%;"> <tr> <td> 学生编号</td> <td> 学生姓名</td> <td> 学生性别</td> <td> 学生年龄</td> <td> 
阅读全文
摘要:public List<Drop> Select() { string sql = "select * from StuClass"; DataTable dt = DbHelperSQL.ExecuteDataTable(DbHelperSQL.ConnB2c, CommandType.Text,
阅读全文
摘要:create database Exam001 --数据库名 use Exam001 --使用数据库 create table Student --创建表 ( StuID int identity,--学生ID StuName varchar(50),--学生姓名 StuSex bit,--学生性别
阅读全文
浙公网安备 33010602011771号