Simple question : How to reference a single row's data

M

MU

Hello,

I have the following code:

Dim userTableAdapter As New RSTTableAdapters.UsersTableAdapter
Dim userDataTable As RST.UsersDataTable

userDataTable = userTableAdapter.GetUserByEmailAddressPassword
(txtEmailAddress.Text, txtPassword.Text)

The query should only return 1 row. How do I reference the data
columns in the row that was sent back? I know how to do it with a
loop, but not a single row.

Thanks
 
R

randy.buchholz

If you are trying to get scalars and not a set.you can try 'executescalar'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,150
Messages
2,570,853
Members
47,394
Latest member
Olekdev

Latest Threads

Top