上一页 1 ··· 4 5 6 7 8
2006年1月4日

ASP.NET程序中常用代码汇总(二)(转载)

摘要: 11.自定义异常处理 //自定义异常处理类 using System;using System.Diagnostics;namespace MyAppException{ /**//// <summary> /// 从系统异常类ApplicationException继承的应用程序异常处理类。 /// 自动将异常内容记录到Windows NT/2000的应用程序日志 /// </summary> ... 阅读全文
posted @ 2006-01-04 18:11 莫相会 阅读(1863) 评论(0) 推荐(0) 编辑

ASP.NET程序中常用代码汇总(一)(转载)

摘要: 1. 打开新的窗口并传送参数: //传送参数: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="++"’)</script>") //接收参数: string a = Request.QueryString("id"); string b = Request.Quer... 阅读全文
posted @ 2006-01-04 18:08 莫相会 阅读(2866) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8