IT
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 55 下一页
摘要: 阅读全文
posted @ 2008-07-29 18:01 liufei 阅读(200) 评论(0) 推荐(0) 编辑
摘要: asp.net常用函数 校检参数是否为数字类型,函数会将非数字类型过滤掉。 //该函数可以过滤掉所有非数字的参数 public string isNumeric(string NUM) { string strTemp; string strReturn; int i,j; strReturn =""; strTemp="0123456789"; if ( NUM.Length== 0) ... 阅读全文
posted @ 2008-07-28 15:16 liufei 阅读(177) 评论(0) 推荐(0) 编辑
摘要: string userName = this.txtUserName.Text.Trim().Replace("'",",");//账号 string password = this.txtPassword.Text.Trim().Replace("'", ",");//密码 阅读全文
posted @ 2008-07-28 10:53 liufei 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 除了乘公交地铁、到超市购物,公交一卡通又有了新功能。北京网通日前宣布,已在北京城区大批量换装“一卡通公用电话”。为了推广使用一卡通,政府相关部门还批准了优惠政策,市话每分钟通话费为前3分钟0.2元、之后每分钟0.1元,国内长途每分钟通话费为0.2元,均低于居民家中固定电话的资费标准。 北京网通公话业务中心总经理沈晓介绍,新安装的公用电话带有“一卡通标识”,市民只要将随身携带的市政公交一卡... 阅读全文
posted @ 2008-07-28 09:56 liufei 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 自动刷新页面的实现方法总结: 1) 10表示间隔10秒刷新一次 2) 如果是你要刷新某一个iframe就把window给换成frame的名字或ID号 3) 4> function abc() { window.location.href="/blog/window.location.href"; setTimeout("abc()",10000); } 刷新本页: Response.Wr... 阅读全文
posted @ 2008-07-24 11:34 liufei 阅读(2852) 评论(0) 推荐(0) 编辑
摘要: 在看本文之前,建议查看本人的系列文章: 《AjaxPro与服务器端交互过程中如何传值》:http://blog.csdn.net/zhoufoxcn/archive/2008/01/05/2026908.aspx 《用AjaxPro实现二级联动》:http://blog.csdn.net/zhoufoxcn/archive/2008/01/07/2029204.aspx 《用AjaxPro实现... 阅读全文
posted @ 2008-07-24 11:15 liufei 阅读(322) 评论(0) 推荐(0) 编辑
摘要: /***创建文件***/#region /***创建文件***/ public void CreateXmlFile(string strFilePath,string[] strElement,string[] strElementString) { try { XmlD... 阅读全文
posted @ 2008-07-23 13:46 liufei 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键 event.keyCode event.shift... 阅读全文
posted @ 2008-07-22 18:01 liufei 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 也可以修改Machine.config的MaxRequestLength的值,那么所有的项目都将自动应用设置。 阅读全文
posted @ 2008-07-22 17:16 liufei 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 在ASP.NET中,有很多种保存信息的内置对象,如:Application,Session,Cookie,ViewState和Cache等。下面分别介绍它们的用法和区别。 方法 信息量大小 ... 阅读全文
posted @ 2008-07-22 15:11 liufei 阅读(215) 评论(0) 推荐(0) 编辑
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 55 下一页