We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
cbUserRegion.SelectedText = ((result.Properties("co")(0)))
If (indexOfSelectedTab = 1) Then Try Dim connString As String = "server=MYSERVER;database=MINE; user=USER; password=PASS;trusted_connection=yes" Dim conn As New SqlConnection(connString) conn.Open() Dim strSQL As String = "SELECT Country,Value FROM Country" Dim da As New SqlDataAdapter(strSQL, conn) Dim ds As New DataSet da.Fill(ds, "Country") With cbUserRegion .DataSource = ds.Tables("Country") .DisplayMember = "Country" .ValueMember = "value" End With conn.Close() Catch ex As Exception MessageBox.Show(ex.Message) End Try End If
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.