摘要: ![](https://img2018.cnblogs.com/blog/602223/201903/602223-20190303165016827-1273130602.png) ![](https://img2018.cnblogs.com/blog/602223/201903/602223-20190303165023200-100485286.png) ![](https://i... 阅读全文
posted @ 2019-03-03 16:51 DaneJiang 阅读(131) 评论(0) 推荐(0)
摘要: #region 获取List类型的索引值 public static int FindList(List findList, string findString) { try { return findList.FindIndex(0, (delegate(string s) { retur... 阅读全文
posted @ 2014-02-07 22:28 DaneJiang 阅读(583) 评论(0) 推荐(0)
摘要: 前台代码: 后台代码,返回Json格式数据: public ActionResult GetProcessType() { DataTable dt = DAL.DBConn.GetDataTable("select userid,name from sys_user where userid='A01'"); var ... 阅读全文
posted @ 2014-02-07 20:06 DaneJiang 阅读(424) 评论(0) 推荐(0)
摘要: 1、从数据库获取DataTable类型: DataTable dt = DBConn.GetPageList(pageIndex, pageSize, "select * from erp_process" + pageSort, ref rowCount); 2、DataTable转换为var类型: var query = from p in dt.AsEnumerable() ... 阅读全文
posted @ 2014-02-07 20:02 DaneJiang 阅读(1571) 评论(0) 推荐(1)
摘要: 《ASP.NET MVC4 Web 编程》的基本概念刚刚看完,急着开始实践了; 先用MVC+EasyUI框架设计一个功能,数据访问层沿用Ado.net处理方式; 因为对Entity framework还不是很熟悉,等熟悉框架设计后再来深入了解EF。 阅读全文
posted @ 2014-02-05 14:36 DaneJiang 阅读(171) 评论(0) 推荐(0)
摘要: 1、在Controller中返回JsonResult: Example: 2、使用Jquery处理数据 阅读全文
posted @ 2014-02-04 02:45 DaneJiang 阅读(713) 评论(0) 推荐(0)
摘要: 针对IoC容器,理解还不够深入,后续还需花时间深入透彻的理解; 先记录几个比较流行的IoC容器: 阅读全文
posted @ 2014-02-04 01:24 DaneJiang 阅读(424) 评论(0) 推荐(0)
摘要: 决心从Web Form转到MVC架构,抓紧了解相关的MVC知识,这两天读完《ASP.NET MVC4 Web 编程》后,就开始用MVC和EasyUI进行实战开发。新的起点,为自己加油! 阅读全文
posted @ 2014-02-03 21:00 DaneJiang 阅读(208) 评论(0) 推荐(0)
摘要: 1.使用xmlHttpRequest实现Ajax代码:2.使用Jquery实现Ajax代码 阅读全文
posted @ 2014-02-03 20:03 DaneJiang 阅读(132) 评论(0) 推荐(0)