Response to: Trying to use drop down list as filter
Latest Revision
You have not added the connection property. Add this to your code:
Dim command As New SqlCommand("select * from grades where test = '" + Convert.ToString(Me.DropDownList2.SelectedValue) + "'", con)
Posted 29-Jan-13 10:04am
by
Richard C Bishop.