摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace ConsoleApplication1{ public delegate void SalaryCompute(object sender, MyEventArgs e); //声明一个代理类 public class Employee { public event SalaryCompute OnSalaryComput... 阅读全文
posted @ 2013-03-26 15:18 yuchao.xia 阅读(212) 评论(0) 推荐(0) 编辑
摘要: ASP.NET程序中常用的三十三种代码ASP.NET程序中常用的三十三种代码1. 打开新的窗口并传送参数: 传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数:string a = Request.QueryString("id");string b = Request.QueryString("id1"); 阅读全文
posted @ 2013-03-26 09:57 yuchao.xia 阅读(179) 评论(0) 推荐(0) 编辑