編譯器錯(cuò)誤消息: CS0123: “Haoupdate”的重載均與委托“System.Web.UI.WebControls.GridViewUpdateEventHandler”不匹配
廣告:
說(shuō)明: 在編譯向該請(qǐng)求提供服務(wù)所需資源的過(guò)程中出現(xiàn)錯(cuò)誤。請(qǐng)檢查下列特定錯(cuò)誤詳細(xì)信息并適當(dāng)?shù)匦薷脑创a。
編譯器錯(cuò)誤消息: CS0123: “Haoupdate”的重載均與委托“System.Web.UI.WebControls.GridViewUpdateEventHandler”不匹配
源錯(cuò)誤:
行 6: <div class="path">當(dāng)前位置: 用戶(hù)管理 >> 用戶(hù)等級(jí)</div>
行 7: <h3>用戶(hù)等級(jí)</h3>
行 8: <asp:GridView ID="GridView1" HorizontalAlign="Center" Width="98%" EnableViewState="False"
行 9: runat="server" AllowPaging="True" AutoGenerateColumns="False" OnPageIndexChanging="haopage" AllowSorting="True" OnRowDeleting="Haodel" OnRowUpdating="Haoupdate" OnRowEditing="haoedit" GridLines="None" DataKeyNames="id" CellPadding="4"
行 10: ForeColor="#333333" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" >
源文件: e:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvcb2b\admin\Userjbmanage.aspx 行: 8
原因:GridViewDeleteEventArgs e 或者GridViewEditEventArgs 要改成 GridViewUpdateEventArgs 非(GridViewUpdatedEventArgs )
廣告: