protected void onDelete(object source, CommandEventArgs e) { try { int retval = objBLL.DeleteRankCategory(Convert.ToInt32(e.CommandArgument.ToString()), Convert.ToInt32(Session["USERID"])); BindRankCategory(); } catch (Exception) { throw; } }