User Profile

Collapse

Profile Sidebar

Collapse
sampak
sampak
Last Activity: Apr 23 '13, 06:35 PM
Joined: Apr 7 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • So this:
    Code:
    Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    
    Dim login = Me.Users2TableAdapter.UsernamePassword(txtUsername .Text, txtPassword.Text)
    If login Is Nothing Then
    MsgBox("wrong details", , "INCORRECT LOGIN OR PASSWORD")
    Else
    MsgBox("welcome")
    
    
    End If
    work with Access database, but i want to use...
    See more | Go to post
    Last edited by Rabbit; Apr 8 '13, 04:50 PM. Reason: Please use code tags when posting code. Second warning.

    Leave a comment:


  • The reason I am using BindingSource is I have tried so many different ways, and nothing works... :/ So I am trying with binding source... I want to create simple logging in structure connected with sql database... it is so shit... I ve tried sth like that as well:


    Code:
        Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    
            Dim login = Me.Users2TableAdapter.UsernamePassword(txtUsername.Text,
    ...
    See more | Go to post
    Last edited by Rabbit; Apr 8 '13, 04:50 PM. Reason: Please use code tags when posting code.

    Leave a comment:


  • Visual Basic - SQL password validation using BindingSource

    I need help. Need to do password validation and have no idea why it doesn't work. Could someone tell me what my code is missing or what is actually wrong with my way of thinking? I am connecting it to dataset2 where is the table called Users2. Table consists of two columns: 'Username' and 'Password'. Users2BiningSou rce.Find should be returning value of an index where a current query is. The returned value is always -1, what I guess means that is...
    See more | Go to post
    Last edited by Rabbit; Apr 7 '13, 11:00 PM. Reason: Please use code tags when posting code.
No activity results to display
Show More
Working...