ie421.NET

面对技术,你别无选择,.NET世界是如此精彩,而我们要做的就是:Thinking More

博客园 首页 新随笔 联系 订阅 管理

07 2008 档案

摘要:第一种: 第二种: 第三种: 第四种: 第五种: 阅读全文
posted @ 2008-07-31 11:16 ie421 阅读(20819) 评论(1) 推荐(0)

摘要:JS 刷新本页、父页、框架 2008-07-17 14:03 window.location.reload(); //本页 window.opener.location.reload(); //父页 //刷新框架 ... 阅读全文
posted @ 2008-07-31 11:00 ie421 阅读(965) 评论(0) 推荐(0)

摘要:原文:http://bbs.blueidea.com/thread-2856887-1-1.html 无标题文档 我就是结果: ... 阅读全文
posted @ 2008-07-31 09:22 ie421 阅读(622) 评论(0) 推荐(0)

摘要:原文 :http://bbs.blueidea.com/viewthread.php?tid=1725038&page= 1,打开新窗口全屏 blue blog 提示:您可以先修改部分代码再运行 2,打开新窗口固定大小 open1 open2 o... 阅读全文
posted @ 2008-07-30 16:25 ie421 阅读(435) 评论(0) 推荐(0)

摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> /* * *全选的所有指定名称的checkbox *@state 全选的checkbox的状态 *@... 阅读全文
posted @ 2008-07-30 16:14 ie421 阅读(302) 评论(2) 推荐(0)

摘要:... .../test.html?str=123456 如何用Javascript接收类似上面的url参数呢?这个问题网上有很多答案,看了看,主要有两种,一个是利用字符串的截取,另一种是利用正则表达式。 [正则式] function QueryString(item){ ... 阅读全文
posted @ 2008-07-30 11:57 ie421 阅读(631) 评论(0) 推荐(0)

摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1xxxxxxxxxx 2yyyyyyyyyy 3zzzzzzzzzz ... 阅读全文
posted @ 2008-07-30 11:51 ie421 阅读(1320) 评论(0) 推荐(0)

摘要:添加多个上传文件 表单类 6 2008-7-18 代码|演示 select onchange 传递多个参数 表单类 7 2008-7-17 代码|演示 JS读取 Radio 的值 表单类 42 2008-6-18 代码... 阅读全文
posted @ 2008-07-30 08:57 ie421 阅读(275) 评论(0) 推荐(0)

摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 无惧上传类 无惧上传示例(保存到文件) 上传 个... 阅读全文
posted @ 2008-07-30 08:54 ie421 阅读(234) 评论(0) 推荐(0)

摘要:限制复选框选择数目,最大允许选择的数量为5 A B C D E F G H I J K L M N O P Q R 阅读全文
posted @ 2008-07-29 16:12 ie421 阅读(343) 评论(0) 推荐(0)

摘要:JS检测上传类型 阅读全文
posted @ 2008-07-29 15:57 ie421 阅读(404) 评论(1) 推荐(0)

摘要:CHECKBOX分组全选代码 a1 a2 a3 a_all b1 b2 b3 b_all c1 c2 c3 c_all 阅读全文
posted @ 2008-07-29 15:55 ie421 阅读(1255) 评论(0) 推荐(0)

摘要:1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year;... 阅读全文
posted @ 2008-07-29 10:23 ie421 阅读(232) 评论(0) 推荐(0)

摘要:类似MSN提示的页面效果-阿里西西WEB开发www.alixixi.com 看到右下角的提示了吗?如果没有看到,刷新一下 短消息提示: × --> 您有1封新短消息 点击查看短信 欢迎访问阿里西西网页特效集 阅读全文
posted @ 2008-07-29 10:23 ie421 阅读(200) 评论(0) 推荐(0)

摘要:1、在CallBack之后保持滚动条的位置 在Asp.Net1.1中,CallBack之后保持滚动条的位置是一件非常痛苦的事情,特别是页中有一个Grid并且想要编辑特定的行。为了不停留在想要得行,页面会重新加载并且必须在顶部向下滚动。在Asp2.0中,只需要简单的在页面的属性中加入MaintainS... 阅读全文
posted @ 2008-07-29 10:22 ie421 阅读(230) 评论(0) 推荐(0)

摘要:資料Customer Id Name RegisterDate 1 澎澎 2007/1/5 00:00:00 2 丁丁 2007/1/6 00:00:00 3 亞亞 2007/1/7... 阅读全文
posted @ 2008-07-29 10:21 ie421 阅读(1115) 评论(0) 推荐(0)

摘要:資料Customer Id Name RegisterDate 1 澎澎 2007/1/5 00:00:00 2 丁丁 2007/1/6 00:00:00 3 亞亞 2007/1/7... 阅读全文
posted @ 2008-07-29 10:21 ie421 阅读(1903) 评论(0) 推荐(0)

摘要:1.document.write("");输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document->html->(head,body) 4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document... 阅读全文
posted @ 2008-07-28 21:28 ie421 阅读(258) 评论(0) 推荐(0)

摘要:一.常用表单基本取值方法(form1为表单名称,TextBox1为控件ID,以文本框为例,html控件与web服务器控件是一样的) 1.form1.TextBox1.value 2.vartxt=document.all.TextBox1; txt.value 3.vartxt=docume... 阅读全文
posted @ 2008-07-28 21:20 ie421 阅读(180) 评论(0) 推荐(0)

摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> /// /// 数据库中与C#中的数据类型对照 /// /// /// ... 阅读全文
posted @ 2008-07-28 09:47 ie421 阅读(325) 评论(0) 推荐(0)

摘要:综合了网上多个ajaxPro的例子,自已重新写了一次,作为工作中的参考 阅读全文
posted @ 2008-07-27 23:44 ie421 阅读(4157) 评论(8) 推荐(1)

摘要:原文:http://www.cnblogs.com/eicesoft/archive/2007/09/11/889654.html 阅读全文
posted @ 2008-07-27 21:22 ie421 阅读(402) 评论(0) 推荐(0)

摘要:对AjaxPro.Utility.RegisterTypeForAjax(typeof(命名空间.类名));用自定义函数优化 阅读全文
posted @ 2008-07-27 20:55 ie421 阅读(303) 评论(0) 推荐(0)

摘要:DataTabledt=newDataTable("cart"); DataColumndc1=newDataColumn("prizename",Type.GetType("System.String")); DataColumndc2=newDataColumn("point",Type.Get... 阅读全文
posted @ 2008-07-27 13:36 ie421 阅读(299) 评论(0) 推荐(0)

摘要:原文:http://www.cnblogs.com/Jinglecat/archive/2007/07/30/835850.html 晓风残月 阅读全文
posted @ 2008-07-27 13:14 ie421 阅读(349) 评论(0) 推荐(0)

摘要:AjaxProStarterKit源码 阅读全文
posted @ 2008-07-27 13:00 ie421 阅读(236) 评论(0) 推荐(0)

摘要:AjaxPro对DataTable,DataSet的操作 阅读全文
posted @ 2008-07-27 12:37 ie421 阅读(309) 评论(0) 推荐(0)

摘要:原文:http://blog.csdn.net/zhoufoxcn/archive/2008/03/12/2174234.aspx 作者:周公 阅读全文
posted @ 2008-07-27 12:15 ie421 阅读(374) 评论(0) 推荐(0)

摘要:原文地址:http://blog.csdn.net/zhoufoxcn/archive/2008/03/09/2160407.aspx 作者:周公 阅读全文
posted @ 2008-07-27 11:44 ie421 阅读(363) 评论(0) 推荐(0)

摘要:AjaxPro.Net使用方法,备忘 阅读全文
posted @ 2008-07-27 11:27 ie421 阅读(295) 评论(0) 推荐(0)

摘要:原文出自:http://blog.csdn.net/zhoufoxcn/archive/2008/01/05/2026908.aspx 周公的专栏 在此转载为了方便学习。向周公致敬 阅读全文
posted @ 2008-07-27 11:01 ie421 阅读(329) 评论(0) 推荐(0)

摘要:收藏sql2005在分页方面的语句 阅读全文
posted @ 2008-07-26 09:22 ie421 阅读(314) 评论(1) 推荐(0)

摘要:添加工具栏 下载 AjaxControlToolkit 下载完成后解压缩,把 ..\AjaxControlToolkit-Framework3.5\SampleWebSite\Bin 下的所有文件都Ctrl+C到 ..\AjaxControlToolkit-Framework3.5\Binari... 阅读全文
posted @ 2008-07-26 00:22 ie421 阅读(1393) 评论(1) 推荐(0)

摘要:===BLL========================================= public IList GetItemsByProduct(string productId) { // Validate input if(string.IsNullOrEmpty(productI... 阅读全文
posted @ 2008-07-25 21:42 ie421 阅读(234) 评论(0) 推荐(0)

摘要:Net3.0一些新特性 阅读全文
posted @ 2008-07-25 20:12 ie421 阅读(215) 评论(0) 推荐(0)

摘要:http://www.opent.cn 作者:浪淘沙 阅读全文
posted @ 2008-07-25 14:44 ie421 阅读(411) 评论(0) 推荐(0)

摘要:1、Guid.NewGuid().ToString("N") 结果为: 38bddf48f43c48588e0d78761eaa1ce6 2、Guid.NewGuid().ToString("D") 结果为: 57d99d89-caab-482a-a0e9-a0a803eed3ba 3、Guid.NewGuid().ToString("B") 结果为: {09f140d5-af72-44ba-a763-c861304b46f8} 4、Guid.NewGuid().ToString("P") 结果为: (778406c2-efff-4262-ab03-70a77d09c2b5) 可见默认的为第2种效果 阅读全文
posted @ 2008-07-25 13:45 ie421 阅读(1691) 评论(0) 推荐(0)

摘要:How to check the FileUpload control on Client code(Brower) First the FileUpload control is support Validator control so we can use RegularExpressionValidator, CustomerValidator, because we can't set Ignore case property on Regular Expression Validator , so i like use CustomerValidator to check the Extension. The code on below, you can copy the code block to your page, and add one CustomerValidator 阅读全文
posted @ 2008-07-25 13:08 ie421 阅读(339) 评论(0) 推荐(0)

摘要:验证dropdownlist的方法 在网上找不到我想要验证dropdownlist的方法, 所以想了N久,才想到这个方法, ControlToValidate = 要验证的dropdownlist Type = 要验证的字符类型 (我的这里是验证字符串) ValueToCompare = ... 阅读全文
posted @ 2008-07-25 12:57 ie421 阅读(407) 评论(1) 推荐(0)

摘要:计算机不可能产生完全随机的数字,ASP.NET中的随机数发生器都是通过一定的算法对事先选定的随机种子做复杂的运算,用产生的结果来近似的模拟完全随机数,这种随机数被称作伪随机数,Ststem.Random表示伪随机数生成器。 伪随机数是以相同的概率从一组有限的数字中选取的。所选数字并不具有完全的随机... 阅读全文
posted @ 2008-07-24 12:21 ie421 阅读(348) 评论(0) 推荐(0)

摘要:ASP.NET中实现页面间的参数传递 QueryString\Application\Session\Cookie2008年07月07日 11:03一.使用QueryString 使用QueryString在页面间传递值是一种非常常见的方法,我们在ASP中就常常用到。 (1)优点和缺点 优... 阅读全文
posted @ 2008-07-23 22:44 ie421 阅读(438) 评论(0) 推荐(0)

摘要:html input type text标签属性和方法事件2008年07月15日 星期二 上午 08:07标签属性 属性 描述 ACCESSKEY accessKey 设置或获取对象的快捷键。 ATOMICSELECTION 指定元素及其内容是否可以一不可见单位统一选择。 AUTOCOMPLETE ... 阅读全文
posted @ 2008-07-23 21:55 ie421 阅读(7369) 评论(0) 推荐(0)

摘要:正则表达式测试工具 30分钟学会正则表达式 本文目标 30分钟内让你明白正则表达式是什么,并对它有一些基本的了解,让你可以在自己的程序或网页里使用它。 如何使用本教程 别被下面那些复杂的表达式吓倒,只要跟着我一步一步来,你会发现正则表达式其实并没有你想像中的那么困难。当然,如果你看完了这篇教程之后,... 阅读全文
posted @ 2008-07-23 18:47 ie421 阅读(922) 评论(0) 推荐(1)

摘要:正则表达式用于字符串处理、表单验证等场合,实用高效。现将一些常用的表达式收集于此,以备不时之需。 阅读全文
posted @ 2008-07-23 18:41 ie421 阅读(244) 评论(0) 推荐(0)

摘要:RequiredFieldValidator(必须字段验证) 用于检查是否有输入值 CompareValidator(比较验证) 按设定比较两个输入 RangeValidator(范围验证) 输入是否在指定范围 RegularExpressionValidator(正则表达式验证) 正则表达式验证控件 CustomValidator(自定义验证) 自定义验证控件 ValidationSummary(验证总结) 总结验证结果 阅读全文
posted @ 2008-07-23 18:41 ie421 阅读(216) 评论(0) 推荐(0)

摘要:Ajax.NET Professional Starter Kit Home How to use .NET data types on client-side code? How to add security to your AjaxMethods? How to use the ... 阅读全文
posted @ 2008-07-23 15:40 ie421 阅读(142) 评论(0) 推荐(0)

摘要:一段时间要用到Ajax,不过,完全靠自己来写嫌太烦,不愿做些麻烦事。 碰巧看到了ajaxpro,尝试了一下,觉得很简单,很实用,兼容性也很好。 AjaxPro的官网是http://ajaxpro.info,你可以下载到最新的AjaxPro组件。如果你想下载,可以点里 aspx?ReleaseId=7... 阅读全文
posted @ 2008-07-23 15:30 ie421 阅读(292) 评论(0) 推荐(0)

摘要:《博客园精华集--WEB分册》第三轮筛选结果发布,已经过转载排除和重新分类,入选文章合计 51 篇,其中HTML/CSS 7 篇,WEB标准 20 篇,各种优化 8 篇,JS 16篇。另HTML/CSS和JS两部分各有技巧集一篇,从多篇技巧类文章中集成,目前入选HTML/CSS 10 篇,JS 7 篇 阅读全文
posted @ 2008-07-22 22:56 ie421 阅读(200) 评论(0) 推荐(0)

摘要:用AjaxPro实现二级联动,数据验证等等 阅读全文
posted @ 2008-07-22 22:33 ie421 阅读(358) 评论(0) 推荐(0)