1. 打开新的窗口并传送参数: yY,.GzIjCj
L{5zA5#m
传送参数: M(/%w"R
response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") B>~E6j7[Mp
bJ/~UEZw
接收参数: <y`yKXzBUV
string a = Request.QueryString("id"); T8qG9)~3
string b = Request.QueryString("id1"); Q7#Q6-Q
Ui1K66{
2.为按钮添加对话框 -{P)\5.L
Button1.Attributes.Add("onclick","return confirm(’确认?’)"); TWxMexiW
button.attributes.add("onclick","if(confirm(’are you sure...?’)){return true;}else{return false;}") _G'.VSGH
gk]r:p<