1. 打开新的窗口并传送参数: ksCF"o/@V
Pjn{3/*wi
传送参数: ktS^^!,l%
response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") :`Ep#[Wvo
d S'J @e=#
接收参数: l^$'6q"
string a = Request.QueryString("id"); 2Y<]X7Ch:
string b = Request.QueryString("id1"); FE]UqB
)0]U"Nf ho
2.为按钮添加对话框 UG=]8YY!
Button1.Attributes.Add("onclick","return confirm(’确认?’)"); Dx`-h#
button.attributes.add("onclick","if(confirm(’are you sure...?’)){return true;}else{return false;}") 0AdxV?6z
znPh7{|<