daStreets.SelectCommand = New MySqlCommand(qryStreets, conn) Dim sd As MySqlCommandBuilder = New MySqlCommandBuilder(daStreets)
If dsStreets.Tables("tbl_streets").Rows.Count > 0 Then With cmbStreet .DataSource = dsStreets.Tables("tbl_streets") .DisplayMember = "streetroad" .ValueMember = "id" .SelectedIndex = 0 End With End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)