Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
Private Sub FillStoreList() Dim connectionString As String = GetConnectionString() Dim queryString As String = _ "SELECT ID, NAME FROM CURRENCY ORDER BY NAME" Using connection As New OracleConnection(connectionString) Dim command As OracleCommand = connection.CreateCommand() command.CommandText = queryString Try connection.Open() Dim dataReader As OracleDataReader = _ command.ExecuteReader() While dataReader.Read() ' cbStoreList.Items.Add("") cbStoreList.DisplayMember = dataReader(1) cbStoreList.ValueMember = dataReader(0) cbStoreList.Items.Add("") End While dataReader.Close() Catch ex As Exception Console.WriteLine(ex.Message) End Try End Using End Sub
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.