C#传递两个以上参数的时候,格式是怎么样的?

来源:百度知道 编辑:UC知道 时间:2024/05/29 23:27:51
int WID1 = 100;
Response.Redirect("ViewWork.aspx?WID=" + WID1);

传递一个参数到另外一个页面,如上!
两个参数如下,如何传递到另一个页面?
int WID1 = 100;
string Msg ="刘德华";
Response.Redirect(????????);
问号中格式是怎样的?
各位大侠请帮忙?!

Response.Write("<script>alert('您的留言已成功发送,我们将及时回复您。');window.location.href=\"SnmonMessage/SearchMessage.aspx?pageid=" + pageId + "&mid=" + moduleId + "\"</script>");
看下就明白了 用&

Response.Redirect("ViewWork.aspx?WID=" + WID1 + "&Msg" + Msg );