可以获取get post url 传递参数的统一方法

public static string objRequest(string requestName)
{
object obj = HttpContext.Current.Request[requestName];
return (obj != null) ? Convert.ToString(obj) : "";
}

posted @ 2013-06-18 08:36  mushishi  阅读(205)  评论(0编辑  收藏  举报