I am using Membership classes in windows forms project. I am trying to create a form that would show all users with the following code :
usersCol = Membership.GetAllUsers();
this.dataGridView1.DataSource = usersCol;
However dataGrid is blank even thought the collection has 8 items.
Even when I try to grab a user like that :
user = usersCol["TestOut"];
this.dataGridView1.DataSource = user;
dataGrid is empty.
What is the best way to display users in WinForm project.