K
Kreol
добавил, при колмпиле сразу ошибка
Код:
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: CS0122: 'Main.Item_Command(object, System.Web.UI.WebControls.DataListCommandEventArgs)' is inaccessible due to its protection level
Source Error:
Line 31:
Line 32:
Line 33: <asp:DataList id="DataList1" GridLines="Both" CellPadding="3" CellSpacing="0" runat="server" OnItemCommand="Item_Command">
Line 34:
Line 35: <HeaderStyle BackColor="#aaaadd">
Source File: d:\123\WEBB\WebSite1\Main.aspx Line: 33