protected void btnVesselRemove_Click(object sender, EventArgs e) { try { foreach (GridViewRow gvr in gvVesselAccess.Rows) { string lblProcedureId = ((Label)gvr.FindControl("lblProcedureId")).Text; int i = BLL_QMSDB_Procedures.QMSDBProcedure_Delete_VesselAccess(int.Parse(DDLVessel.SelectedValue), UDFLib.ConvertIntegerToNull(lblProcedureId), int.Parse(Session["USERID"].ToString())); } BindFolderToVEsssel(); } catch (Exception ex) { } }