ASP.net 常用代码整理
摘要:
1. 打开新的窗口并传送参数: 传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>")接收参数:string a = Request.QueryString("id");string b = Request.QueryString("id1");2.为按钮添加对话框Button1.Attributes.Add(" 阅读全文
posted @ 2011-10-13 13:52 风动破 阅读(203) 评论(0) 推荐(0)