摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Net;//需要引用.Net命名空间namespaceConsoleApplication1{classProgram{staticvoidMain(st... 阅读全文
posted @ 2015-08-05 15:28 kobe工作室 阅读(1214) 评论(0) 推荐(0) 编辑
摘要: [HttpGet] public ActionResult CheckToolsIdExists(string ToolsID) { using (BaseContext context = new BaseContext("ToolsTB")) ... 阅读全文
posted @ 2015-08-05 11:08 kobe工作室 阅读(396) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-07-23 14:04 kobe工作室 阅读(767) 评论(0) 推荐(0) 编辑
摘要: 样式:@media (max-width: 768px) { .table-supplier { width: 100%; height: 100%; margin-bottom: 12.75px; overflow-y: hidden; overflow-x: sc... 阅读全文
posted @ 2015-07-21 16:36 kobe工作室 阅读(362) 评论(0) 推荐(0) 编辑
摘要: div class="righter nav-navicon" id="admin-nav"> 个人中心 注销登录 ... 阅读全文
posted @ 2015-07-20 15:46 kobe工作室 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 简单演示一下创建一个Workbook对象,添加一个工作表,在工作表中添加一行一列:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using Sy... 阅读全文
posted @ 2015-07-18 15:50 kobe工作室 阅读(209) 评论(0) 推荐(0) 编辑
摘要: .net mvc利用NPOI导入导出excel注意:如何导出的提交方式ajax导出是失效的!解决方案是:js处理l两个表单的提交代码:第一步.在页面里面加入2个隐藏的iframe,如下:第二步.表单设置target属性:......第三步.按钮提交事件:提交1、导出Excel:首先引用NPOI包,从... 阅读全文
posted @ 2015-07-18 15:47 kobe工作室 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 前端代码:@{ Layout = null;} Controller代码:zmTestEntities entity = new zmTestEntities();public ActionResult Curve() { ... 阅读全文
posted @ 2015-07-08 16:22 kobe工作室 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 前端代码:@{ Layout = null;} Index Controller代码:zmTestEntities entity = new zmTestEntities(); //柱状 publi... 阅读全文
posted @ 2015-07-08 16:20 kobe工作室 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 现把转换方法列举如下:1、纵表转横表: 纵表结构 TableANameCourseGrade张三语文75张三数学80张三英语90李四语文95李四数学55横表结构 TableBName语文数学英语张三758090李四95550方法一:select Name,sum(case Course when ‘... 阅读全文
posted @ 2015-07-08 16:17 kobe工作室 阅读(278) 评论(0) 推荐(0) 编辑