gpt4 book ai didi

c# - aspx.cs 和 aspx.designer.cs 在哪里

转载 作者:行者123 更新时间:2023-11-30 19:07:21 35 4
gpt4 key购买 nike

我已经从一个不再可用的人那里继承了一个网站。在已部署的文件夹中,我有 Config.aspx(请参阅代码)。但是我找不到代码隐藏文件。配置页面有效。我在哪里可以找到 .cs 文件?

谢谢

<%@ page language="C#" masterpagefile="~/Master/StaffPortal.master" autoeventwireup="true"
inherits="Admin_Config" title="Configuration" codebehind="Config.aspx.cs" %>

<asp:content id="Content1" contentplaceholderid="PageBody" runat="Server">
<div style="width: 405px; height: 25px" class="GeneralCaption">
Configuration Parameters
</div>
<asp:Table ID="Table" runat="server" Style="width:100%">
</asp:Table>
<asp:Button ID="OKButton" runat="server" CssClass="GeneralButton" Text="OK" OnClick="OKButton_Click" />
<asp:Button ID="CancelButton" runat="server" CssClass="GeneralButton" Text="Cancel" OnClick="CancelButton_Click" />
</asp:content>

最佳答案

如果项目被部署那么所有的.cs文件已经被编译成.dll文件在bin文件夹中。您需要有项目源才能访问它们。

关于c# - aspx.cs 和 aspx.designer.cs 在哪里,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6288118/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com