Il codice è perfetto... in fase di compilazione tutto ok, ma in fase di visualizzazione ho questo errore:
Parser Error Message: The base class includes the field 'DataList1', but its type (System.Web.UI.WebControls.DataList) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl).
Source Error:
Line 70: </tr>
Line 71: </table>
Line 72: <aspataList id="DataList1" runat="server">
Line 73: <ItemTemplate>
Line 74: <%# DataBinder.Eval(Container.DataItem, "gruppo") %>