11 2015 档案

摘要://delete one by id updateClient.Delete<Person>(d => d.Id(7)); //delete one by object updateClient.Delete<Person>(new Person() { }); //delete the Indic 阅读全文
posted @ 2015-11-24 22:43 游子善心 阅读(6) 评论(0) 推荐(0)
摘要:用户映射 public 维护所有默认权限 db_owner 执行所有数据库角色活动 db_accessadmin 添加和删除数据库用户, 组及角色 db_ddladmin 添加、更改或删除数据库对象 db_security admin 分配语句执行和对象权限 db_backupoperator 备份 阅读全文
posted @ 2015-11-23 14:11 游子善心 阅读(16) 评论(0) 推荐(0)
摘要:url('/scds/common/u/images/apps/uas/photo_splash_signin_480x319_v4.jpg') no-repeat bottom center fixed rgba(187, 60, 12, 0); 阅读全文
posted @ 2015-11-18 16:06 游子善心 阅读(6) 评论(0) 推荐(0)
摘要:connectionStrings: 一般情况下connectionStrings都是数据库连接字符串的首选,因为它有存放数据库的优势 1、可以加密(传送门)。 2、切换数据库平台方便,如换为Oracle数据库,只需修改providerName。 3、可以直接绑定到数据源(不推荐这种写法,当然如果系 阅读全文
posted @ 2015-11-09 15:05 游子善心 阅读(28) 评论(0) 推荐(0)
摘要:每个网站里都会有一个web.config文件。修改Web.config文件会导致IIS重启,就是随意的回车一下也会导致重启。微软建议,不要将需要修改的配置内容保存在web.config中。而是单独放在一个config中。 但是对于单独存放的config文件,怎么来对其进行修改和读取呢? 例如 可以指 阅读全文
posted @ 2015-11-09 11:22 游子善心 阅读(24) 评论(0) 推荐(0)
摘要:索引相关 URL 说明 /index/_search 不解释 /_aliases 获取或操作索引的别名 /index/ /index/type/ 创建或操作类型 /index/_mapping 创建或操作mapping /index/_settings 创建或操作设置(number_of_shard 阅读全文
posted @ 2015-11-05 17:30 游子善心 阅读(21) 评论(0) 推荐(0)
摘要:<script language="javascript"> //获取域名 host = window.location.host; host2=document.domain; //获取页面完整地址 url = window.location.href; document.write("<br>h 阅读全文
posted @ 2015-11-05 10:49 游子善心 阅读(11) 评论(0) 推荐(0)
摘要:要求: 在这之前,视为证书已经安装好,且默认http默认正常访问的。 思路:既然选择 要求SSL 提示403错误,那为什么不在403错误页面加上强制js由http到https勒? 1、安装证书(不是本文重点,烦请搜索引擎自行查找) 2、“编辑绑定” --> "添加" --> "https" and 阅读全文
posted @ 2015-11-04 23:47 游子善心 阅读(242) 评论(0) 推荐(0)
摘要:jquery easyui datagrid内置了分页的功能,当设置为 pagination: true 以后就能够启用分页功能。 启用分页以后,jquery easyui datagrid发送的数据请求中会包含两个参数: int iPageIndex = Convert.ToInt32(this. 阅读全文
posted @ 2015-11-02 11:56 游子善心 阅读(8) 评论(0) 推荐(0)