posted @ 2007-05-30 09:53
随笔分类 - 开发常用
摘要:调用可以很灵活,代码如下: using System;using System.Configuration;using System.Web;using System.Web.UI;using System.Text;using System.IO;namespace aspnet_test{ /// /// 单个文件上传类 /// /// 可以自定义:上传目录,上传文...
阅读全文
摘要:网址: asp: "http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" dotnet: @"http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" js: /http:\/\/([\w-]+\.)+[\w-]+(\/[\w-\s .\/?%&=]*)?/gi
阅读全文
posted @ 2006-11-30 10:51
摘要:using System;using System.IO;using System.Configuration;using System.Web;namespace AspNetTest.Common{ /**//// /// 单/多文件上传,,写的不好,见笑。. /// public class UploadFile { public Upload...
阅读全文
posted @ 2006-04-17 14:51
摘要:之前写了一篇2级联动的,将其修改,就可以得到3级联动菜单。BigClass 表结构: 测试数据: SmallClass1 表结构: 测试数据: SmallClass2 表结构: 测...
阅读全文
posted @ 2006-03-20 21:39
摘要:BigClass 表结构: 测试数据: SmallClass1 表结构: 测试数据: aspx页面 : aspx代码: liandong_two...
阅读全文
posted @ 2006-03-20 00:42
摘要:数据库:SqlServer2000表:tree表结构:测试数据:算法:使用递归实现======================================asp代码: "'NextCall DBConnEnd()Function GetRescordCount() GetRescordCount = oConn.Execute("select count(id) from " & sT...
阅读全文
posted @ 2006-03-16 12:19
浙公网安备 33010602011771号