Exemple #1
0
        protected void DeleteSelectedButton_Click(object sender, EventArgs e)
        {
            List <int> errorMessageIds = GetSelectedErrorMessageIds();

            foreach (int id in errorMessageIds)
            {
                ErrorMessageDataSource.Delete(id);
                ErrorMessageGrid.DataBind();
            }
        }
Exemple #2
0
 protected void DeleteAllButton_Click(object sender, EventArgs e)
 {
     ErrorMessageDataSource.DeleteForStore();
     ErrorMessageGrid.DataBind();
 }