private DataTable LocationGet() { DataTable dtresult = new DataTable(); PopulateBussinessLayer(Common.Common.Location.Location); return(location.LocationSearchByKey()); }
private void GetLocationDetails() { try { DataTable dtResult; location = new BIZ.Location(); GetControlValue(); PopulateBussinessLayer(Common.Common.RaceScheduleDetails.Location); dtResult = location.LocationSearchByKey(); if (dtResult.Rows.Count > 0) { RecordSearched = dtResult; PopulateControl(); } } catch (Exception ex) { MessageBox.Show(Common.Common.CustomError(ex.Message), "Error"); } }