zwei1121

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 31 下一页

2008年8月28日 #

摘要: 单问号---用于给变量设初值的时候,给变量(int类型)赋值为null,而不是0! 双问号---用于判断并赋值,先判断当前变量是否为null,如果是就可以赋一个新值,否则跳过! public int? para; //public int para;如果不注释掉此行,而把上一行注释掉的话,下面会报错! public int par() { return this.para ?? 0... 阅读全文
posted @ 2008-08-28 15:48 zwei 阅读(173) 评论(0) 推荐(0) 编辑

2008年8月20日 #

摘要: HttpWebRequest req; string strGet = "http://localhost:2980/Service1.asmx/HelloWorld?name="; strGet = strGet + this.TextBox1.Text; //请求的Web service的所在地址 req = ... 阅读全文
posted @ 2008-08-20 10:11 zwei 阅读(164) 评论(0) 推荐(0) 编辑

摘要: public string CheckUrl() { Uri ComeUrl = HttpContext.Current.Request.UrlReferrer; string cUrl = string.Empty; HttpContext context = HttpContext.Current; ... 阅读全文
posted @ 2008-08-20 10:09 zwei 阅读(183) 评论(0) 推荐(0) 编辑

2008年8月5日 #

摘要: (http|ftp|https)://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)+\.(png|jpg|gif|gif) (http|ftp|https)://(\\S+?)\\.(jpg|png|gif) private static Regex RegTel = new 阅读全文
posted @ 2008-08-05 14:21 zwei 阅读(181) 评论(0) 推荐(0) 编辑

摘要: 测试内容 阅读全文
posted @ 2008-08-05 14:16 zwei 阅读(172) 评论(0) 推荐(0) 编辑

摘要: Regex.Replace("asdfads","[\n|\r|\t]", ""); 阅读全文
posted @ 2008-08-05 11:12 zwei 阅读(145) 评论(0) 推荐(0) 编辑

摘要: select dbms_metadata.get_ddl('TABLE','MEETEXTENDPHONENUM') from dual ; select dbms_metadata.get_ddl('SEQUENCE',' meetextendID.nextval') from dual ; CREATE SEQUENCE "MMYEEIVRDB"."CALLI... 阅读全文
posted @ 2008-08-05 10:11 zwei 阅读(151) 评论(0) 推荐(0) 编辑

2008年7月24日 #

摘要: create FUNCTION [dbo].[fun_RepeatCharNum] ( @CodeString varchar(2000), @RepeatString varchar(200) ) RETURNS int AS BEGIN DECLARE @RepeatStringLen int, --检测重复字符的长串 ... 阅读全文
posted @ 2008-07-24 14:30 zwei 阅读(170) 评论(0) 推荐(0) 编辑

2008年7月20日 #

摘要: using System; using System.Collections.Generic; using System.Text; using System.Web; using System.IO; using System.Net; namespace Framework.Common { public class GatherData { #region 获... 阅读全文
posted @ 2008-07-20 17:48 zwei 阅读(318) 评论(0) 推荐(0) 编辑

2008年7月13日 #

摘要: UpdatePanel可以用来创建丰富的局部更新Web应用程序,它是ASP.NET 2.0 AJAX Extensions中很重要的一个控件,其强大之处在于不用编写任何客户端脚本,只要在一个页面上添加几个UpdatePanel控件和一个ScriptManager控件就可以自动实现局部更新。通过本文来学习一下UpdatePanel简单的使用方法(第一篇)。 主要内容: 1.UpdatePanel控件... 阅读全文
posted @ 2008-07-13 17:35 zwei 阅读(307) 评论(0) 推荐(0) 编辑

上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 31 下一页