08 2007 档案

摘要: VB.NET Program Structure C# Imports System Namespace Hello Class HelloWorld Overloads Shared Sub Main(ByVal args() As String) Dim name As String = "VB.NET" 'See if an argument was passedfrom the comma...阅读全文
posted @ 2007-08-24 14:23 wpater 阅读(959) | 评论 (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][0-9]...阅读全文
posted @ 2007-08-24 14:08 wpater 阅读(17) | 评论 (0) 编辑
摘要: --【字符串函数】--字符串截取substr(字段名,起始点,个数)select Name,substr(Name,2,4),substr(Name,0,3),substr(Name,-2,3),substr(Name,-2,1) from t1;--字符串从前面取三个(0开始)select Name,substr(Name,0,3) from t1;--字符串从后面取三个select Name,...阅读全文
posted @ 2007-08-24 14:07 wpater 阅读(83) | 评论 (0) 编辑