Let's go
摘要: C#控制台测试 eg1: 1 static void Main(string[] args) 2 { 3 //只取日期 4 var date = DateTime.Now.ToShortDateString(); 5 6 //只取时间 7 var time = DateTime.Now.ToLong 阅读全文
posted @ 2018-07-06 17:39 chenze 阅读(1552) 评论(0) 推荐(0) 编辑
摘要: 1.bootstrap实例: 1 <title>Bootstrap 实例 - 代码</title> 2 <link href="https://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> 3 <scr 阅读全文
posted @ 2018-07-06 16:51 chenze 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 一丶Datagrid 1 //1.初始化页面数据 2 LoadGrid: function () { 3 dgLog = $('#dg').datagrid({ 4 url: '/Test_Areas/Test/StuList', 5 iconCls: 'icon-save', 6 fit: tru 阅读全文
posted @ 2018-07-06 11:40 chenze 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 针对两表操作 一丶增加 1 #region 05-增加操作 2 /// <summary> 3 /// 05-增加操作 4 /// </summary> 5 /// <param name="studentInfo">用来接收用户信息(涵盖多条件)</param> 6 /// <param name 阅读全文
posted @ 2018-07-06 11:33 chenze 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 一丶读写文件帮助类:转自我师父 >www.cnblogs.com/yaopengfei(更多内容,请关注) 1 /// <summary> 2 /// 文件操作类 3 /// 特别注意: 4 /// 1.在非web程序中,HttpContext.Current.Server.MapPath失效不好用 阅读全文
posted @ 2018-07-06 11:23 chenze 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 一丶登录流程 1.线性槽 public class DbContextFactory { public static DbContext GetDbContext() { DbContext dbContext = CallContext.GetData(typeof(DbContextFactor 阅读全文
posted @ 2018-07-06 11:01 chenze 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 表结构扩展一个字段用来保存pactname的拼音编码查询时对应拼音编码查询: 阅读全文
posted @ 2018-07-06 10:36 chenze 阅读(173) 评论(0) 推荐(0) 编辑
有事您Q我