I have this code in my aspx page :
<asp:DropDownList ID="campagnes" runat="server" AutoPostBack="True" ></asp:DropDownList>
I am filling the DropDownList with :
foreach (DataRow DR in DS.Tables["CAMPAGNES"].Rows) {
campagnes.Items.Add(new ListItem(DR.Field<string>("LIBELLE").ToString(), DR.Field<int>("STATUSGROUP")));
}
The DropDownList is filled with the data i wanted to add but if i select an item in the list, i get this error :
"Invalid postback or callback argument ..."
I have no idea what does it mean and how to correct it.