Coding For Fun
宠辱不惊,看庭前花开花落~ 去留无意,任天上云卷云舒
摘要: "^\\d+$"  //非负整数(正整数+0)"^[0-9]*[1-9][0-9]*$"  //正整数"^((-\\d+)|(0+))$"  //非正整数(负整数+0)"^-[0-9]*[1-9][0-9]*$"  //负整数"^-?\\d+$"    //整数"^\\d+(\\.\\d+)?$"  //非负浮点数(正浮点数+0)"^(([0-9]+\\.[0-9]*[1-9][0-9]*)|([... 阅读全文
posted @ 2007-09-04 00:07 Flynn 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--11.打开新的窗口并传送参数:23  传送参数:45response.write("<script>window.open(’*.aspx?id="+this.DropDownLi... 阅读全文
posted @ 2007-09-04 00:02 Flynn 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1.为按钮添加确认对话框Button.Attributes.Add("onclick","return confirm('确认?')");Button.Attributes.Add("onclick","if(confirm('确定?')){return true;}else{return false;}")2.表格超连接列传递参数<asp:HyperLinkColumn Target="_... 阅读全文
posted @ 2007-08-27 00:51 Flynn 阅读(408) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.We... 阅读全文
posted @ 2007-08-25 17:27 Flynn 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 1、WCF (Windows Communication Foundation):虽然WCF显然没有WPF或SilverLight那么吸引人,但是它却是在.NET框架下解决业务问题的基础。所以你今年至少要学习一门.NET的新技术,那你就选择WCF吧。   2、ADO.NET (and LINQ):这是让你与数据层打交道的技术。并且LINQ提供了将各种数据组合起来的方法。如果以上两个技术你都不熟悉的... 阅读全文
posted @ 2007-08-23 22:18 Flynn 阅读(139) 评论(0) 推荐(0) 编辑
摘要: functioncarltbl_getBandById(tagId){if(!tagId)returnnull;varparts=tagId.split("_");varbandIndex=parts.length-2;vargridId=parts[0];varel=carltbl_getElementById(tagId);if((gridId.charAt(gridId.length-3)=... 阅读全文
posted @ 2007-08-22 01:02 Flynn 阅读(411) 评论(1) 推荐(0) 编辑