Results 1 to 5 of 5

Thread: Username & Password

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Posts
    22

    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

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Post the code you're using .

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Posts
    22
    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

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Posts
    22
    Thanks for the help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width