1. 打开新的窗口并传送参数: ;
]%fFcy
MDa[bQNM
传送参数: 6p;Pf9
f
response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") ,eebO~7vB
0 D4 4
接收参数: # d"M(nt
string a = Request.QueryString("id"); ;t7F%cDA
string b = Request.QueryString("id1"); 1Mq"f7X8
gm]q<~eMW
2.为按钮添加对话框 ~C
3Y/}
Button1.Attributes.Add("onclick","return confirm(’确认?’)"); <EyJ $$
button.attributes.add("onclick","if(confirm(’are you sure...?’)){return true;}else{return false;}") &ii3V