随笔分类 -  IT 技术分享

mvc 导出
摘要:int teacherId = int.Parse(CurrentContext.CurrentUser.UserId); string _courseName = Request["ddlCourse"] == "全部" ? string.Empty : Request["ddlCourse"]... 阅读全文

posted @ 2015-12-08 17:16 Allen_T

列表条件分页查询
摘要://sql=sqlSelect+sqlFrom+sqlWhere+sqlOrder string sql = string.Empty; string sqlSelect = "SELECT cc.ClassId,cc.ClassName,cp.CourseName,pp.Title,pp.Rele... 阅读全文

posted @ 2015-12-08 17:12 Allen_T

禁用键盘事件
摘要:$(document).keydown(function (e) { e = e ? e : window.event; var keycode = e.which ? e.which : e.keyCode; if (keycode == 8) { //操作 return false; } })... 阅读全文

posted @ 2015-12-08 17:11 Allen_T

NLog 下载安装
摘要:比较简单,vs 2010 右键项目,管理NuGet 程序包,搜索Nlog ,选择版本安装即可。 阅读全文

posted @ 2015-04-03 17:38 Allen_T 阅读(448) 评论(0) 推荐(0)

the underlying conncetion was closed an unexpected error occurred on a receive
摘要:.Net winform 程序可以运行,但是具体操作,查询,打印时 报错:the underlying conncetion was closed an unexpected error occurred on a receive查了半天也不知是什么情况,因为在自己的电脑及服务器上运行正常,但是现场... 阅读全文

posted @ 2015-01-23 10:55 Allen_T 阅读(353) 评论(0) 推荐(0)

导航