Esempio n. 1
0
 public void Table()               //display the table
 {
     uiDataGridView1.Rows.Clear(); //flush the old data
     using UserController userMapper = new UserController();
     foreach (User user in userMapper.GetAllUsers())
     {
         uiDataGridView1.Rows.Add(UserExtentions.getUserDetails(user.ToStringArray()));
     }
 }