protected void DeleteUsageHistoryButton_OnCommand(object sender, CommandEventArgs e) { if (e.CommandName == "DeleteUsageHistory") { DiscountManager.DeleteDiscountUsageHistory(Convert.ToInt32(e.CommandArgument)); BindUsageHistory(); } }