文章分类 -  Web

IIS 使用域用户 域用户登录IIS以及IIS设置
摘要:原文地址:http://tobysky.blog.hexun.com/38881881_d.html用VS2005做好reporting service报表,并将数据源和报表depoly到安装有reporting service在另一台机器上要使iis访问reporting service提供的web service接口,调用这个接口下载报表,pdf导出。1)。 在reporting service管理页面加入域帐户并授予权限2) 配置IIS6.0, 认证仅使用windows集成认证,check this one only.3). 池运行账户使用域帐户(domain\username)4) i 阅读全文
posted @ 2013-03-20 09:56 Black Bean 阅读(5060) 评论(1) 推荐(0)
ifram高度自适应,获取iframe元素,控制父页面
摘要:ifram高度自适应,两种方法 方法一:父页面获取子页面高度,改变父页面高度演示地址:http://i.thec.cn/jie51886/js/iframe/parent2.html以下代码加到父页面<script language="javascript">//获取iframe子页面的方法,需调用才能实现 (<body onload="doShow()">)function doShow(){//获得子页面的高度 document.getElementById("content").contentWindow 阅读全文
posted @ 2012-12-26 11:26 Black Bean 阅读(762) 评论(0) 推荐(0)
.net C#实现 中文转Unicode、Unicode转中文 及与js对应关系
摘要:中文转Unicode:HttpUtility.UrlEncodeUnicode(string str); 转换后中文格式:"%uxxxx" 举例:"柳_abc123" 转换结果是:"%u67f3_abc123"Unicode转中文1:HttpUtility.UrlDecode(string str);str格式:"%uxxxx",举例:"%u67f3_abc123"Unicode转中文2:Regex.Unescape(string str);str格式:"\uxxxx",举例 阅读全文
posted @ 2012-12-26 10:00 Black Bean 阅读(4349) 评论(0) 推荐(0)
js中escape,encodeURI,encodeURIComponent
摘要:js对文字进行编码涉及3个函数:escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent1、 传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截断。例如:<script language="javascript">document.write('<a href="http://passport.baidu.com/?logout&aid=7& u='+encodeU 阅读全文
posted @ 2012-12-26 09:33 Black Bean 阅读(195) 评论(0) 推荐(0)