This is way more difficult than it should be. I recreated a brand new web site project, created a brand new web form copy and pasted the code in a text file then pasted the code in the brand new webform and I get an error message:
“不应装上基因组”
守则:
<%@ Page Title="Generate Prefixes" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="GenPrefixList.aspx.cs" Inherits="GenPrefixList" %>
然后,我拿走了Inherits=“GenprefixList”的电文:
ASP.pages_genprefixlist_aspx, not contained a definition for PrefixID_S selected IndexChanged and no extension methods PrefixID_S selected IndexChanged接受第一种类型论点 ASP.pages_genprefixlist_aspx 可以找到(如果你没有指示或集会参考资料?)
PrefixID_SelectedIndexChanged is already in the codebehind but the aspx don t see it....
我甚至比较了我的其他页页,即设计时的类似页数,设计人文档和编码格式相同。 我还可以在一个网站项目中增加一个编印机。
这完全是荒谬的,我看不出,如何从零开始重新研究所有事项,而在某种程度上,该法典仍然作为px. Designer.cs。 这部法律仍然参照了px. Designer.cs:
<div style="text-align:Left;float:right; width:56.5%; display:inline-block;">
<asp:DropDownList ID="PrefixID" runat="server" AutoPostBack="true"
ToolTip="Select Prefix" onselectedindexchanged="PrefixID_SelectedIndexChanged">
<%--<asp:ListItem Text="Select..."></asp:ListItem>--%>
</asp:DropDownList>
<asp:Label ID="lblRqdPrefix" runat="server" Text="required" CssClass="noshow" ></asp:Label>
</div>