1. 打开新的窗口并传送参数: Cfi4~ &
'x%gJi#
传送参数: t=Oq<r
response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") PaKa bPY
i%o%bib#
接收参数: 9Jwd *gevV
string a = Request.QueryString("id"); 3H,x4L5j
string b = Request.QueryString("id1"); `Abd=1nH
LGhK)]:
2.为按钮添加对话框 x'L=p01
Button1.Attributes.Add("onclick","return confirm(’确认?’)"); cM%?Ot,mK"
button.attributes.add("onclick","if(confirm(’are you sure...?’)){return true;}else{return false;}") k7U.]#5V
*tv&