摘要: 在aspx->cs->dll这篇post中我向大家介绍了通过aspx生成cs并编译成dll的方法,浪漫十一狼对这个技巧的一个应用(无aspx部署)向我提问,我在这里向大家详细介绍一下。通过上篇post大家已经知道了如何获取aspx生成的dll文件,我们只要再作两步工作,就可以实现无aspx部署了:1、把生成的全部dll文件拷贝到项目的bin目录下;2、在web.config中加入类似下面的配置节声... 阅读全文
posted @ 2007-01-02 09:39 WUYQ 阅读(234) 评论(0) 推荐(0) 编辑
摘要: asp.net中画图 阅读全文
posted @ 2006-07-18 16:23 WUYQ 阅读(655) 评论(1) 推荐(0) 编辑
摘要: 生成登录时的验证码 阅读全文
posted @ 2006-05-30 15:50 WUYQ 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 实现tree的代码如下:function showTree(treeid) { if(treeid == 0 ) return false; top.frameColumn.location.href = ""+ treeid +".html"; } function init() { t = new Bs_Tree(); t.imageDir = './images/icon/Help/'; t... 阅读全文
posted @ 2006-04-27 16:07 WUYQ 阅读(918) 评论(0) 推荐(0) 编辑
摘要: Eamil :\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*电话号码:(\d{3}-|\d{4}-)?(\d{8}|\d{7})?邮编:\d{6}手机:^0{0,1}13[0-9]{9} 阅读全文
posted @ 2006-04-19 09:27 WUYQ 阅读(94) 评论(0) 推荐(0) 编辑
摘要: //System.Web.UI.HtmlControls.HtmlInputFile fileUp,System.Web.UI.Page pagestring filePath="",fileExtName="",mFileName="",mPath=""; if("" != fileUp.PostedFile.FileName) { filePath =fileUp.PostedF... 阅读全文
posted @ 2006-04-15 13:39 WUYQ 阅读(512) 评论(1) 推荐(0) 编辑
摘要: using System;using System.Runtime.InteropServices;using System.Text;namespace Encry{ [Serializable] public struct HardDiskInfo { /// /// 型号 /// public string ModuleNumber; /// /// 固件版本 /// ... 阅读全文
posted @ 2006-04-06 13:47 WUYQ 阅读(886) 评论(1) 推荐(0) 编辑
摘要: 1:在接收页 的html代码里加上一行: WebForm1 fp=(WebForm1)Context.Handler; this.TextBox1.Text=fp.name; 2:GET方式 在发送页 public int sum=0; int i =int.Parse(this.TextBox1.Text... 阅读全文
posted @ 2006-04-05 13:45 WUYQ 阅读(137) 评论(0) 推荐(0) 编辑
摘要: public string OutPutExcel(System.Web.UI.Page page,DataTable myTable, string strTitle) { strMeno=""; try { page.Response.Buffer= false; page.Response.Charset="UTF-8"; page.Response.App... 阅读全文
posted @ 2006-04-05 13:43 WUYQ 阅读(159) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Data.SqlClient;using Microsoft.Win32;using System.Reflection;using System.IO;using System.Web;using System.Web.SessionState;using System.Web.UI;using System... 阅读全文
posted @ 2006-03-31 13:35 WUYQ 阅读(363) 评论(0) 推荐(0) 编辑