Author: maqdk | Posted on: 6/14/2008 9:20:34 AM | Views : 452

Hi,

I'm trying to get a list of all registeret users. But its not working. Obviously i'm doing something wrong :o)

Can someone please help me with following:

   Protected Sub GetAllUsers()
Dim DataTable As MembershipUserCollection = Membership.GetAllUsers()
Dim Row As MembershipUser
Dim Odd As Boolean = False
For Each Row In DataTable
Dim TRow As New TableRow
If Odd Then TRow.CssClass = "row-b" Else TRow.CssClass = "row-a"
TRow.Ce ...

Go to the complete details ...