>Add one more change to it:
>
> if (userDS.Tables[0].Rows.Count == 1)
>
>The square brackets ... in C# square brackets are used for collections, whereas parentheses are used in VB.
>
>~~Bonnie
>
Bonnie... Thanks so much, it was indeed the brackets vs. parentheses. My poor old eyes didn't pick up on the difference.