/// <summary> /// todoComment /// </summary> /// <param name="ADataView"></param> /// <param name="tmpInterest"></param> /// <returns></returns> public DataRowView DetermineRecordToSelect(DataView ADataView, String tmpInterest) { DataRowView ReturnValue = null; DataRowView TmpDataRowView; ADataView.RowFilter = PInterestTable.GetInterestDBName() + " = '" + tmpInterest + "'"; TmpDataRowView = ADataView[0]; try { ReturnValue = TmpDataRowView; } catch (Exception) { } ADataView.RowFilter = ""; return(ReturnValue); }