|
-
Jul 18th, 2008, 07:36 AM
#5
Thread Starter
Lively Member
Re: Help with sql code
 Originally Posted by asnider
actually, you said returns the correct value, meaning the query returns only one row? if so then, try:
Code:
reader = command.ExecuteReader(CommandBehavior.SingleRow)
If reader.Read Then
return reader.item(0)
endif
This did not help...It still returns 0
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
|