摘要:
在aspx->cs->dll这篇post中我向大家介绍了通过aspx生成cs并编译成dll的方法,浪漫十一狼对这个技巧的一个应用(无aspx部署)向我提问,我在这里向大家详细介绍一下。通过上篇post大家已经知道了如何获取aspx生成的dll文件,我们只要再作两步工作,就可以实现无aspx部署了:1、把生成的全部dll文件拷贝到项目的bin目录下;2、在web.config中加入类似下面的配置节声... 阅读全文
摘要:
实现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... 阅读全文
摘要:
Eamil :\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*电话号码:(\d{3}-|\d{4}-)?(\d{8}|\d{7})?邮编:\d{6}手机:^0{0,1}13[0-9]{9} 阅读全文
摘要:
//System.Web.UI.HtmlControls.HtmlInputFile fileUp,System.Web.UI.Page pagestring filePath="",fileExtName="",mFileName="",mPath=""; if("" != fileUp.PostedFile.FileName) { filePath =fileUp.PostedF... 阅读全文
摘要:
using System;using System.Runtime.InteropServices;using System.Text;namespace Encry{ [Serializable] public struct HardDiskInfo { /// /// 型号 /// public string ModuleNumber; /// /// 固件版本 /// ... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文