protected void btnMultipleDelete_Click(object sender, EventArgs e) { string[] IDs = hdnFldSelectedValues.Value.Trim().Split('|'); foreach (string Item in IDs) { TabController tab_obj = new TabController(); int id = int.Parse(Item.ToString()); int i = tab_obj.Delete(id); } hdnFldSelectedValues.Value = string.Empty; FillDataInGrid(); }