private void LoadUnit() { try { ServiceClient client = new ServiceClient(); dataTableUnit = client.SelectUnit(); dataGridViewUnit.DataSource = dataTableUnit; } catch (Exception ex) { ExceptionLog.Instance.WriteLog(ex, LogType.UI); throw; } }