steve: This example is in VB, but might help - sure there are several approaches -- in this case a user types in a string value (textbox) and then clicks on a button that triggers the following event (to populate the listbox):
Private Sub listContactsList()
listContacts.Items.Clear()
Dim strSQL = "'%" & txtSearch.Text & "%'"
Dim dbconnCt As OleDbConnection = New OleDbConnection( _
"Provider=Microsoft.Jet.OLEDB.4.0; " & _
"Data Source=" & Server.MapPath(".\fpdb\Contacts.mdb;"

)
Dim DBCommand = New OleDbCommand ("SELECT Contact_ID, ContactName, Last FROM WebMasterContacts WHERE Last Like" & strSQL, dbconnCt)
''" & txtSearch.Text & "'" & "ORDER BY Last ASC", dbconnCt)
Dim reader As OleDbDataReader
Try
dbconnCt.Open()
reader = DBCommand.ExecuteReader()
Do While reader.Read()
Dim NewItem As New ListItem()
NewItem.Value = reader("Contact_ID"

NewItem.Text = reader("ContactName"

listContacts.Items.Add(NewItem)
Loop
reader.Close()
Catch err As Exception
lblContacts.Text = "Error reading list of names."
lblContacts.Text &= err.Message
Finally
If (Not dbconnCt Is Nothing) Then
dbconnCt.Close()
End If
End Try
End Sub