yongtaiyu

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

获得页面控件值

Response.Write(Request.Params[this.TextBox1.UniqueID]);
Response.Write(Request.Params["txt"]);

 

得到所有地址栏传的参数名称:

System.Collections.Specialized.NameValueCollection coll = Request.QueryString; 

String[] arr1 = coll.AllKeys; 

Response.Write(arr1[1].ToString());

posted on 2012-02-28 15:00  yongtaiyu  阅读(275)  评论(0编辑  收藏  举报