2016年6月3日
摘要: //设备在地图上进行标注 function GetGateInfo(vSID, vMap) { var icon = "../Content/easyui/themes/icons/gate.png"; var myIcon = new BMap.Icon(icon, new BMap.Size(3 阅读全文
posted @ 2016-06-03 14:03 DDLL11 阅读(1696) 评论(1) 推荐(0) 编辑
  2016年5月30日
摘要: [HttpGet] public ActionResult Modify(int id) { Books mod=db.Books.Where(b => b.Id == id).FirstOrDefault(); if (mod != null) { ViewData["category"] = d 阅读全文
posted @ 2016-05-30 20:51 DDLL11 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: Models文件夹里面可以Linq,Entity两种映射框架,也允许有ADO的操作,甚至可以ADO代码和映射代码一起操作控制器当中允许有相同的方法名,类似在做修改时有两个Modify方法,但是MVC中没有视为合法的重载,要用不同的请求方式来区分,也就是要用特性HttpPost和HttpGet来区分两 阅读全文
posted @ 2016-05-30 20:36 DDLL11 阅读(1425) 评论(0) 推荐(0) 编辑
  2016年5月29日
摘要: @{ Layout = null;}@using MvcApplication2.Models<!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width" /> <title>Index</title>< 阅读全文
posted @ 2016-05-29 17:50 DDLL11 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.后台启动 计算机-管理-服务和应用程序 2.SQL SERVER配置管理器 3.在运行窗口中使用命令进行启动: 阅读全文
posted @ 2016-05-29 10:43 DDLL11 阅读(5753) 评论(0) 推荐(0) 编辑
  2016年5月22日
摘要: <!-- Button trigger modal --><button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> Launch demo modal</butto 阅读全文
posted @ 2016-05-22 20:37 DDLL11 阅读(184) 评论(0) 推荐(0) 编辑
  2016年5月21日
摘要: <a onclick="return confirm('确认要退出登录吗?')">退出</a>//删除,修改,添加时提示信息框 (del,edit,add) funciton del(){ if(confirm("确定要删除数据吗")){ //是,自己的代码 } else{ //否,自己的代码 }} 阅读全文
posted @ 2016-05-21 21:19 DDLL11 阅读(412) 评论(0) 推荐(0) 编辑