Ciao raga!
Il problema non sono ancora riuscito a risolverlo quindi provo a roproporvi il quesito:
Non genera l'evento edit con DataList!
<ItemTemplate>
Indirizzo:
<%# Container.DataItem("IDARTICOLO") %>
Città:
<%# Container.DataItem("IDVERSIONE") %>
(<%# Container.DataItem("PREZZOVENDITA")%>)
<asp:Button CommandName="EditCommand" Text="Edit" Runat="server" ID="Button1" />
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox BackColor=#ffff00 Text='<%# Container.DataItem("IDARTICOLO") %>' ID=txtIDARTICOLO Runat=server>
</asp:TextBox>
Indirizzo:
<asp:TextBox BackColor=#ffff00 Text='<%# Container.DataItem("IDVERSIONE") %>' ID="txtIDVERSIONE" Runat=server>
</asp:TextBox>
Città:
<asp:TextBox Text='<%# Container.DataItem("PREZZOVENDITA") %>' ID="txtPREZZOVENDITA" Runat=server>
</asp:TextBox>
<asp:Button CommandName="Update" Text="Update" Runat="server"></asp:Button>
<asp:Button CommandName="Cancel" Text="Cancel" runat="server"></asp:Button>
</EditItemTemplate>