adpter = New MySqlDataAdapter("select count(*) from bookings where busNumber = '" & txtBusNumber.Text & "' and departTime = '" & cmbDepartTime.Text & "' and departDay = '" & cmbDay.Text & "'", con) Dim myDataSet = New DataSet adpter.Fill(myDataSet, "bookings") txtCount.Text = myDataSet.Tables("bookings").Rows(0).Item(0)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)