|
-
Dec 23rd, 2002, 06:40 PM
#1
Thread Starter
Addicted Member
Getting contents of one cell
I have done so simple queries before with asp.net but I always bind all the results to a datagrid.
Is there a way to just get the results of a query into a int?
lets say I used a query like this:
SELECT MAX(Id) FROM Pubs
this should only return a single int, any idea how to just collect that and store it in an int?
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
|