1. 打开新的窗口并传送参数: Rw 8o ]
NyLnE
传送参数: loe>"_`Cq
response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") <J`xCm K
elB 8
接收参数: Zw{tuO7}K
string a = Request.QueryString("id"); w5jZI|
string b = Request.QueryString("id1"); PlUjjJU
y*(j{0yd
2.为按钮添加对话框 D:EF@il
Button1.Attributes.Add("onclick","return confirm(’确认?’)"); V~Lq,oth
button.attributes.add("onclick","if(confirm(’are you sure...?’)){return true;}else{return false;}") sR.j~R
.&