Yes. You'll have to build the SelectCommand in a string first, like this:
Dim commandText as String = "SELECT [ID], [School_name], [School_Gender] FROM [Schools] WHERE [School_name] = '" & Trim(ttbox.Text) & "'"
This will work in most cases, but it won't work if you have a single quote as...