|
-
Mar 31st, 2004, 04:25 AM
#1
Thread Starter
Junior Member
Username & Password
I am working on an application that has a login screen.
usernames and paswords are stored in a database (Access DB)
I created the connection, the dataadapter, and the dataset.
the problem is i am trying to store the data in the field into a variable insted of showing it in the textbox
how do i go about doing that????
Help is mostly appreciated
-
Mar 31st, 2004, 04:35 AM
#2
Sleep mode
Post the code you're using .
-
Mar 31st, 2004, 05:49 AM
#3
Thread Starter
Junior Member
Private Sub frmLogon_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim pintRecords As Integer
Dim pbndTemp As Binding
pintRecords = odbdaPassUser.Fill(DsUserPass1)
pbndTemp = New Binding("text", DsUserPass1, "tblPassUser.fldUserName")
mstrUser = Me.
End Sub
this is how far i got. i couldent figer out the rest
i tried using the position but it didn't work
there is two varibales at module level
they are caled mstrUser and mstrPass
i am trying to use the variables to store the data from the table and then compare them to the text inputed in the textboxs
-
Mar 31st, 2004, 06:01 AM
#4
Sleep mode
Sry dude , I hate working with Bindings . I don't use them any more . But , here's another way (which is much easier and clearer than Bindings)
http://www.vbforums.com/showthread.p...hreadid=250863
-
Mar 31st, 2004, 05:28 PM
#5
Thread Starter
Junior Member
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
|