摘要: 可能是之前部署的程序证书被我删掉了或是证书过期了,结果出现这个问题。解决方案如下:方案1:右击项目属性—>签名—>为ClickOnce清单签名,将勾掉的选项去掉。方案2:在签名中创建一个新的签名。方案3:记事本打开相应的csproj文件,调整节点值。true将true修改为false。 阅读全文
posted @ 2015-02-28 10:38 任飞儿 阅读(178) 评论(0) 推荐(0)
摘要: 测量一个时间间隔的运行时间a.调用Start方法b.调用Stop方法c.使用Elapsed属性检查运行时间。如:System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch();stopwatch.Start();... 阅读全文
posted @ 2015-02-27 12:10 任飞儿 阅读(1864) 评论(0) 推荐(0)
摘要: (1) jQuery的Id选择器: $("#btnShow")(2) 事件绑定函数 bind() $("#btnAdd").bind("click", function(event) { $("#divMsg").show(); });(3) 显示和隐藏函数. show()和hide()(4) 修... 阅读全文
posted @ 2015-02-09 16:02 任飞儿 阅读(105) 评论(0) 推荐(0)
摘要: $(this).children('option:selected').val();//这就是selected的值$("#charCity").empty();//内容清空:jQuery获取Select选择的Text和Value: 复制代码 代码如下: $("#select_id").change(... 阅读全文
posted @ 2015-01-20 11:56 任飞儿 阅读(383) 评论(0) 推荐(0)
摘要: js对文字编码有3个函数: escape,encodeURI,encodeURIComponent, 对应的解码函数:unescape,decodeURI,decodeURIComponent 1、escape对ansi码0-255以外的字符进行编码输出%u****格式即unicode值,escape 方法返回一个包含了 charstring 内容的字符串值( Unicode 格式)。所有空格、标点、重音符号以及其他非 ASCII 字符都用 %xx 编码代替,其中 xx 等于表示该字符的十六进制数。例如,空格返回的是 "%20" escape不编码字符有69个:*,+,-,.,/,@,_,0- 阅读全文
posted @ 2010-12-22 17:24 任飞儿 阅读(316) 评论(0) 推荐(0)
摘要: FF和IE下的js兼容性问题 作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-09-06 浏览:8894 :: :: Javascript 常用正则表达式 jQuery 简单介绍 做了几周的js兼容性,多少总结了几条经验,下面把ff下常用的替代写法和区别列举出来,大家共享。1,document.getElementById替代document.all(ie适用)2,集合[]替代()(ie适用)3,target替代srcElement;parentNode替代parentElement(parentNode ie适用)4,node.parentNode.remove 阅读全文
posted @ 2010-12-22 17:21 任飞儿 阅读(244) 评论(0) 推荐(0)
摘要: 1.document.formName.item("itemName") 问题说明:IE下,可以使用document.formName.item("itemName")或document.formName.elements["elementName"];Firefox下,只能使用document.formName.elements["elementName"]. 解决方法:统一使用document.formName.elements["elementName"].2.集合类对象问题说明:IE下,可以使用()或[]获取集合类对象;Firefox下,只能使用[]获取集合类对象. 解决方法:统一使用 阅读全文
posted @ 2010-12-22 17:07 任飞儿 阅读(180) 评论(0) 推荐(0)
摘要: 数据绑定到Repeater1 ,下面是将Repeater1的内容导出的示例代码 System.IO.StringWriter sw = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(sw); this.Repeater1.RenderControl(h... 阅读全文
posted @ 2010-08-13 15:11 任飞儿 阅读(254) 评论(0) 推荐(0)
摘要: 转的http://hi.baidu.com/tchzx 谢谢作者行高 line-height: 16px 宽度 (具体位置)-width: 16px 文字缩行 text-indent: 2px 文字字体 font-family: "华文彩云" 文字颜色 font-color: #ffffff 文字大小 font-size: 21pxhttp://hi.baidu.com/tchzx 文字排列 fo... 阅读全文
posted @ 2010-03-08 17:12 任飞儿 阅读(410) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicclassfood{publicvirtualstringshow(Tt)//virtu... 阅读全文
posted @ 2010-01-07 16:29 任飞儿 阅读(174) 评论(0) 推荐(0)