C#动态方法调用
摘要:Class1.cs using System; class Class1{ public static String method1() { return "I am Static method (method1) in class1"; } public String method2() { return "I am a Instance Method (method2) in Class1";...
阅读全文
posted @
2007-07-07 14:48
jirong
阅读(546)
推荐(0)
常用正则表达式
摘要:常用正则表达式关键词: 正则表达式 "^\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...
阅读全文
posted @
2006-07-01 11:38
jirong
阅读(622)
推荐(0)
对象序列化
摘要:如果这个对象是你自己定义的类生成的那么你要给这个类标识为如下:[Serializable]public class YourClass{ //class code}因为在StateServer或者SQLServer模式的时候保存在Session里面的对象必须支持序列化!
阅读全文
posted @
2006-06-23 14:38
jirong
阅读(366)
推荐(0)