摘要: 方法1: < http-equiv="Window-target"content="_top"> 方法2: <script language="javascript"> if (self !== top) window.top.location.replace(self.location); </s 阅读全文
posted @ 2015-12-30 13:21 游子善心 阅读(8) 评论(0) 推荐(0)
摘要: /// <summary> /// 获取 formString 在 ToString 里面的次数 /// </summary> /// <param name="formString"></param> /// <param name="ToString"></param> /// <returns 阅读全文
posted @ 2015-12-16 21:30 游子善心 阅读(6) 评论(0) 推荐(0)
摘要: tracert -d 135.120.109.34 阅读全文
posted @ 2015-12-09 09:03 游子善心 阅读(13) 评论(0) 推荐(0)
摘要: use [database] select schema_name(t.schema_id) as [Schema], t.name as TableName,i.rows as [RowCount] from sys.tables as t, sysindexes as i where t.obj 阅读全文
posted @ 2015-12-03 23:34 游子善心 阅读(5) 评论(0) 推荐(0)
摘要: //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 游子善心 阅读(15) 评论(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 游子善心 阅读(5) 评论(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)