hi.
I have a method that searches a database using the contents of a textbox. I don't want people to be able to type "%" and retrieve all of the info...

If UsernameTextBox.Text = ""%"" Then
badlogin()
End If

basically, it wasnt even a problem... :icon_redface:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.