摘要: 三层架构:Helper层 public int count(string sql) { SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=DB_class;User ID=sa;Pwd=123;"); conn 阅读全文
posted @ 2020-07-14 17:21 我的未来方程式i 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 分页 首先创建个MyHtmlHelper类: public static class MyHtmlHelper { public static HtmlString ShowPageNavigate(this HtmlHelper htmLHelper, int currentPage, int p 阅读全文
posted @ 2020-07-14 17:02 我的未来方程式i 阅读(150) 评论(0) 推荐(0) 编辑