|
-
Feb 12th, 2008, 04:13 PM
#2
Re: problem populating dataset
Are you sure your SQL is correct? Do you know exactly what Membership.GetUser(UserName, True).ProviderUserKey.ToString is returning and that there are records in the database with that criteria?
Set that to a string variable and attach the variable into the SQL line. That way, you can breakpoint it easilly to see what it is returning.
Your code looks solid.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|