반응형
using System.Collections.Specialized;
// 호출
NameValueCollection data = new NameValueCollection();
data.Add("pparam1", "post_val1");
data.Add("pparam2", "post_val2");
HttpHelper.RedirectAndPOST(this.Page, "/Dest.aspx?param1=param1_value¶m2=param2_value", data);
// 수신
string getParam1 = Request["param1"];
string getParam2 = Request["param2"];
System.Collections.Specialized.NameValueCollection postedValues = Request.Form;
string postParam1 = postedValues["pparam1"];
string postParam2 = postedValues["pparam2"];
'Dev::ASP.NET,C#' 카테고리의 다른 글
iOS Safari에서 ASP.NET Control 렌더링 이상 현상 해결 방법 (0) | 2012.10.17 |
---|---|
DateTime.ToString (0) | 2012.07.02 |
IHttpHandler에서 Session 객체 사용 방법 (0) | 2012.06.29 |
C# 썸네일(thumbnail) 생성 (0) | 2012.06.29 |
SQLServer를 이용한 ASP.NET Session 처리 (0) | 2012.06.19 |