private int DeleteOldData()
        {
            string RoleId       = ddlRoleList.SelectedValue;
            int    PermissionId = Convert.ToInt32(ddlPermissionList.SelectedValue);
            TabPermissionController tab_permission_obj = new TabPermissionController();
            DataTable dt = tab_permission_obj.GetListByRoleIdPermissionId(RoleId, PermissionId);
            int       TabPermissionId = -1, result = -1;

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                TabPermissionId = Convert.ToInt32(dt.Rows[i]["TabPermissionId"].ToString());
                result          = tab_permission_obj.DeleteTabPermission(TabPermissionId);
            }
            return(result);
        }