从其他项目访问网页 [英] Access web page from a different project
本文介绍了从其他项目访问网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我是ASP.NET的新手..
在我的解决方案中,我有两个项目,我需要从我的第一个项目访问第二个项目的网页.
二手的
Hi Im new to ASP.NET ..
In my solution I have two projects and I need a access a webpage of a second project from my 1st project ..
Used
protected void registerButton_Click(object sender, EventArgs e)
{
Response.Redirect("./PersonalDetails/Details.aspx");
}
其中PersonalDetails是我的第二个项目...但没有成功
请帮助紧急
谢谢
where PersonalDetails is my second project... but no sucess
Please help Urgent
Thanks
推荐答案
使用的参数
就像
受保护的void registerButton_Click(对象发送者,EventArgs e)
{
Response.Redirect("./PersonalDetails/Details.aspx?u = 23&d = 3");
}
used parameter
like
protected void registerButton_Click(object sender, EventArgs e)
{
Response.Redirect("./PersonalDetails/Details.aspx?u=23&d=3");
}
这篇关于从其他项目访问网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文