// deletes old shopping carts protected void deleteButton_Click(object sender, EventArgs e) { byte days = byte.Parse(daysList.SelectedItem.Value); ShoppingCartAccess.DeleteOldCarts(days); countLabel.Text = "The old shopping carts were removed from the database"; }
protected void deleteButton_Click(object sender, EventArgs e) { byte days = byte.Parse(daysList.SelectedItem.Value); ShoppingCartAccess.DeleteOldCarts(days); countLabel.Text = "Старите колички бяха изтрити"; }