Trying to load into table

Mike2098

Newcomer
Joined
Nov 11, 2007
Messages
1
Hello, I have a sqlDB with two tables user and private I want the user after logging in to be able to see their info displayed in text boxes all set to read only so just displaying the data for them

I need to form to record the user id from the login form which I have done
with this code

Code:
Dim returnValue2 As DialogResult

        returnValue2 = My.Forms.frmLogin.txtUserID.Text()

        txtcustomerID.Text = returnValue2
        frmlogin.Hide()
        Me.SqlDataAdapterC.Fill(Me.userData.Accounts)

Ho can I use the stored varible to be referanced by the database so it loads that users details ? any sugestions

thanks
M
 
Back
Top