摘要:
http://chuna2.787528.xyz/birdshover/archive/2008/08/26/1277103.html http://chuna2.787528.xyz/focustea/archive/2009/07/07/1518484.html
阅读全文
posted @ 2010-05-25 14:00
冷火
阅读(235)
推荐(0)
摘要:
如果在当前页输出可以用如下代码: Response.ContentType = "application/rss+xml"; SyndicationResourceSaveSettings settings = new SyndicationResourceSaveSettings(); settings.CharacterEncoding = new UTF8Encoding(false); f...
阅读全文
posted @ 2010-04-02 09:57
冷火
阅读(470)
推荐(0)
摘要:
I was looking for good examples of how the ModalPopupExtender control could be used as a confirmation dialog. I was especially curious in seeing implementations where the popup is used to confirm del...
阅读全文
posted @ 2010-02-09 09:14
冷火
阅读(433)
推荐(0)
摘要:
//************************************************************////下面给出三个简单的方法,后面两个方法是扩展,估计有时用得着//************************************************************///// <summary>/// 缩小图片/// </summa...
阅读全文
posted @ 2010-01-06 14:43
冷火
阅读(761)
推荐(0)
摘要:
通常,为了防止因用户上传有害文件(如木马、黑客程序)引发的安全性问题,Web程序都会对用户允许上传的文件类型加以限制。而本文将要介绍的就是如何在ASP.NET应用程序中利用Web Control的内置属性简单高效地实现限制上传文件类型的功能。 在调用PostFile对象的SaveAs方法保存上传文件之前,可以通过PostFile对象的FileName属性得到上传的文件名。而有了上传的文件名,就...
阅读全文
posted @ 2009-12-04 14:11
冷火
阅读(1450)
推荐(0)
摘要:
采集取得页面HTML代码的例子上面已经给出不少了 下面的代码是使用正则表达式取得HTML中内容的代码 Regex regex1 = new Regex(this.NameKey, RegexOptions.Singleline | RegexOptions.IgnoreCase ); MatchCollection collection1 = regex1.Matches(t...
阅读全文
posted @ 2009-08-06 09:50
冷火
阅读(469)
推荐(0)
摘要:
比喻输入email地址为
[email protected],
[email protected],
[email protected], 最后有逗号也允许? //不允许^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*(,\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)*$//允许^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\...
阅读全文
posted @ 2009-07-14 16:21
冷火
阅读(1367)
推荐(0)
摘要:
LumiSoftReceive.aspx.csusing System;using System.Collections.Generic;using System.Data;using System.IO;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Lumi...
阅读全文
posted @ 2009-07-06 14:49
冷火
阅读(5262)
推荐(0)
摘要:
/Files/xiongeee/dhtmlXTreeprofessionalv1.3.rar
阅读全文
posted @ 2009-06-29 10:54
冷火
阅读(193)
推荐(0)
摘要:
protected void Button1_Click(object sender, EventArgs e) { Random random=new Random(); int rnumber=random.Next(1, 100); string outPutName = DateTime.Now.ToString("yyyyMMddhhmmss") + rnumber.ToString()...
阅读全文
posted @ 2009-06-22 14:48
冷火
阅读(997)
推荐(0)