我調試程序後, 該頁面顯示我以下錯誤。 我不知道解決這個錯誤,是缺少程序集?編譯錯誤 - 您是否缺少using指令或程序集引用?
以下是錯誤的顯示:
編譯錯誤
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'ASP.dcbrequestlogcriteria_aspx' does not contain a definition for 'ddlTelco_SelectedIndexChanged' and no extension method 'ddlTelco_SelectedIndexChanged' accepting a first argument of type 'ASP.dcbrequestlogcriteria_aspx' could be found (are you missing a using directive or an assembly reference?)
源錯誤:
<span class="fieldlable">Telco:</span>
<span>
<asp:DropDownList ID="ddlTelco" runat="server" DataTextField="Text" DataValueField="Value" AutoPostBack="true" OnSelectedIndexChanged="ddlTelco_SelectedIndexChanged" SelectMethod="LoadTelco" Enabled="false"></asp:DropDownList>
</span>
<asp:RequiredFieldValidator ID="RequiredFieldValidatorTelco" runat="server" ErrorMessage="Telco" ControlToValidate="ddlTelco"></asp:RequiredFieldValidator>
錯誤消息告訴確切的問題是... – VDWWD