I\'ve got a website where I\'m running the following code:
Make the query in your code exactly the same as the one you're running against Access. (Replace @ID
with 4
.)
If it returns the records you expect, the problem is with @ID
.
If it still appears to return no records, then your problem is either with how you're sending your command to the database or how you're reading the results.