示例#1
0
 public UpdatePassword()
 {
     InitializeComponent();
     users = UserDAO.GetList();
 }
示例#2
0
 private void UpdateTable()
 {
     dgvShowUsers.DataSource = null;
     dgvShowUsers.DataSource = UserDAO.GetUsersTable();
     nudUserID.Maximum       = Convert.ToInt32(dgvShowUsers.Rows[dgvShowUsers.RowCount - 1].Cells[0].Value.ToString());
 }