Thread: VB and MySQL
View Single Post
Old 07-07-2005, 12:03 PM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
have you checked the VB.net-MySQL tutorial ?
Look about 3/5 down into it, where it states Retrieving the User ID With A Parameterized Query, it should give you an idear.. especialy the line:
UserID = myCommand.ExecuteScalar
kinda gives me the idear that in this example the UserID will be holding the fetched result from the query.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote