private string KiemTraXeNhanDaNhanCuoc(long IDCuocKhach, string strXeNhan) { if (strXeNhan.Length <= 0) { return(strXeNhan); } DieuHanhTaxi objDHTaxi = new DieuHanhTaxi(); string strDSXeNhanDaNhanDiem = ""; string[] arrTaxi = strXeNhan.Split(".".ToCharArray()); string SQLCondition = " AND (len(XeNhan)>0) AND (ID <> " + IDCuocKhach.ToString() + " )"; DataTable dsXeDaNhan = objDHTaxi.FT_GetAllOf_DienThoaiNew(SQLCondition); if (dsXeDaNhan != null && dsXeDaNhan.Rows.Count > 0) { foreach (string soHieuXeCanKiemTra in arrTaxi) { if (KiemTraXeCoTrongCuocKhachHienTai(dsXeDaNhan, soHieuXeCanKiemTra)) { strDSXeNhanDaNhanDiem += soHieuXeCanKiemTra + "."; } } } return(strDSXeNhanDaNhanDiem); }