User Profile

Collapse

Profile Sidebar

Collapse
Mikejds2098
Mikejds2098
Last Activity: Apr 6 '15, 04:53 PM
Joined: Mar 29 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to change this to a stored procedure in appliaction

    Hi I would like to make this more secure by running the sql command as a stored procedure any help appreciated

    Code:
    Dim Myadapter1 As New MySqlDataAdapter
            Dim sqlquary1 = "SELECT * FROM mjbb_users WHERE username='" & UsernameTextBox.Text & "'AND password='" & RadTextBox2.Text & "';"
            Dim command1 As New MySqlCommand
            command1.Connection = MySqlConnection
    ...
    See more | Go to post

  • Mikejds2098
    started a topic If else not working as expected
    in .NET

    If else not working as expected

    Hi I know it is something simple but I cant get the if else to work as expected

    this is the code i am using

    Code:
     If PasswordTextBox.Text = "" Then RadLabelError.Text = "Please Enter Your Password!"
            If PasswordTextBox.Text.Length < "8" Then
                RadLabelError.ForeColor = Color.Red
                RadLabelError.Text = "Password must be 8 Charecters!"
    ...
    See more | Go to post
No activity results to display
Show More
Working...