private void FillForm(Int32 _userID) { try { LoginBAL _objBAL = new LoginBAL(); LoginModel _objModel = _objBAL.SearchUser(_userID); tbxUsername.Text = _objModel._Username; tbxPassword.Text = _objModel._Password; tbxModifiedDate.Text = _objModel._ModifiedDate.ToString("dd,MMM,yyyy"); tbxEmail.Text = _objModel._EmailAddress; cmbRole.SelectedIndex = _objModel._UserRole; } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }