如何从另一个项目调用webform [英] How to call a webform from another project
本文介绍了如何从另一个项目调用webform的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从项目'WebSitepayu'中调用一个名为'default.aspx'的表单。我使用以下代码,但没有回应。抛出无法找到资源之类的错误。我已正确拼写了evrything。
Response.Redirect(WebSitepayu / Default.aspx);
解决方案
< blockquote>理解你的目标是什么细节真的太少了。
也许你不需要路径中的项目名称?
尝试:
Response.Redirect( Default.aspx );
另外(或另外)尝试解释一下......
干杯,
C
I want to call a form namely 'default.aspx' from a project 'WebSitepayu'. I used the following code but doesnt respond. Throws out an error like 'the resource cant be found'. I have spelt evrything correctly.
Response.Redirect("WebSitepayu/Default.aspx");
解决方案
It's really too little details to understand what your goal is.
Perhaps you don't need the project's name in the path?
Try:
Response.Redirect("Default.aspx");
Alternatively (or in addition) try to explain a little more ...
Cheers,
C
这篇关于如何从另一个项目调用webform的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文