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