public static bool SelectTheRecord(List <RowIndex> rows) { try { foreach (RowIndex rowindex in rows) { int rowindexinint = int.Parse(rowindex.Row); IControl row = WebTableUtilities.GetRowByRowIndex(DL_Lab_MRR_Table.MrrTable, rowindexinint); if (!Control_PropertyUtilities.IsControlNull(row)) { IControl checkbox = DL_Lab_Mrr_Delete.Checkbox(row); Control_ActionUtilities.ClickWithoutVerify(checkbox, String.Empty); } } return(true); } catch (Exception e) { new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e); } return(false); }