Get rid of the parentheses. Change this:
where (UserName=@UserName))"
to this:
where UserName=@UserName"
~~Bonnie Berent DeWitt [C# MVP]
http://geek-goddess-bonnie.blogspot.com
No comments:
Post a Comment