nasdaqhe's blog

被生活强jian着
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 3 4 5 6 7 8 下一页

2006年10月27日

摘要: using System.Text;using MSXML2;public string funGetBody(string priStrUrl,string priStrMothed) { MSXML2.XMLHTTP Retrieval=new MSXML2.XMLHTTP(); Retrieval.open(priStrMothed,... 阅读全文

posted @ 2006-10-27 17:12 nasdaqhe 阅读(743) 评论(1) 推荐(0) 编辑

摘要: 阅读全文

posted @ 2006-10-27 17:11 nasdaqhe 阅读(448) 评论(0) 推荐(0) 编辑

摘要: “正则表达式”对象,我们就可以非常方便的对各种数据进行合法性的校验了。 首先,让我们来了解一下究竟什么是VBScript的“正则表达式”对象,我们先来看一段程序: Function CheckExp(patrn, strng) Dim regEx, Match ' 建立变量。 Set regEx = New RegExp ' 建立正则表达式。 regEx.Pattern = patrn ... 阅读全文

posted @ 2006-10-27 17:09 nasdaqhe 阅读(792) 评论(0) 推荐(0) 编辑

摘要: 判断C#中的字符串是否是数字,如果是转换成int类型 1.通过正则表达式(可以判断正数和负数) public int IsNumeric(string str){ int i;if(str != null && System.Text.RegularExpressions.Regex.IsMatch(str,@"^-?\d+$"))i = int.Parse(str);elsei = -1;ret... 阅读全文

posted @ 2006-10-27 17:08 nasdaqhe 阅读(4364) 评论(1) 推荐(0) 编辑

摘要: 图片渐变轮换效果图片渐变轮换效果(IE),请等几秒钟看效果 阅读全文

posted @ 2006-10-27 16:54 nasdaqhe 阅读(3173) 评论(2) 推荐(0) 编辑

摘要: 内存不足。 异常详细信息: System.OutOfMemoryException: 内存不足。源错误:? System.Drawing.Image myimg=System.Drawing.Image.FromFile(file.FullName); 原来是打开了不是图像的文件而引发的异常: MSDN:如果文件没有有效的图像格式,或者如果 GDI+ 不支持文件的像素格式,则此方法将引发 OutO... 阅读全文

posted @ 2006-10-27 16:52 nasdaqhe 阅读(1166) 评论(0) 推荐(0) 编辑

摘要: 请问下同一行的图片和文字怎么居中对齐? 文本文本 阅读全文

posted @ 2006-10-27 16:48 nasdaqhe 阅读(2119) 评论(2) 推荐(0) 编辑

摘要: 120){this.width=120;}if(this.height>120){this.height=120;}'>";}else{t_html="240){this.width=240;}if(this.height>240){this.height=240;}'>"; }}else{t_html="";}write_id.innerHTML=t_html;}//-->function ch... 阅读全文

posted @ 2006-10-27 16:47 nasdaqhe 阅读(386) 评论(0) 推荐(0) 编辑

摘要: '用于获取字符串字节数'''''''''''function getstr(str,num) total = num-3 strlen = 0 for i=1 to len(str) currentchar = mid(str,i,1) '截取每个字符进行判断 strPriTmpXX = server.URLEncode(currentcha... 阅读全文

posted @ 2006-10-27 16:45 nasdaqhe 阅读(779) 评论(1) 推荐(0) 编辑

2006年10月26日

摘要: Asp.Net不使用CodeBehind的做法................... 阅读全文

posted @ 2006-10-26 01:03 nasdaqhe 阅读(477) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 下一页