private void LoadCustomerDataCheckinTable() { try { BS_Layer.BLCustomer bl = new BS_Layer.BLCustomer(); Checkin_Datagridview_ListOfCustomer.DataSource = bl.LoadCustomer(); } catch { MessageBox.Show("Can not fetch data in table Customer !"); } }
private void LoadCustomerDataBookingTable() { try { BS_Layer.BLCustomer bl = new BS_Layer.BLCustomer(); Booking_Datagridview_ListOfCustomer.DataSource = bl.LoadCustomer(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); MessageBox.Show("Can not fetch data in table Customer !"); } }