Hey, JB...
I believe you said this was the offending line...
if userDS.Tables(0).Rows.Count = 1
If you change it to this, it should be OK...
if (userDS.Tables(0).Rows.Count == 1)
note that in C, one '=' is for assignment, two '==' for comparison.
HTH...
Kevin