简体   繁体   English

C#asp.net如何从另一个项目加载aspx页面?

[英]C# asp.net Howto load an aspx page from another project?

I have 2 projects. 我有2个项目。 One project is a core and contains the GUI which is always the same and acts like a kind of framework. 一个项目是一个核心,并且包含GUI,GUI始终是相同的,并且就像一种框架。

The second project is an application that must be set in the framework. 第二个项目是必须在框架中设置的应用程序。

The framework consists of a masterpage and a content page (application.aspx). 该框架由一个母版页和一个内容页(application.aspx)组成。 From my second project I want to load the application.aspx. 从第二个项目中,我想加载application.aspx。 Is this possible? 这可能吗? And if so.. how? 如果是的话..如何?

Server.Transfer("application.aspx");

will take you there. 将带您到那里。 What do you mean by 你是什​​么意思

load the application.aspx? 加载application.aspx?

We did very similar thing in our projects 我们在项目中做了非常相似的事情

We add the folder/files in our source safe, and share these folders/files to other projects from source safe 我们将文件夹/文件添加到源保险箱中,并将这些文件夹/文件从源保险箱共享给其他项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM