Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.
Dim forbindelse As New System.Data.OracleClient.OracleConnection forbindelse.ConnectionString = "user id=****;password=****;data source=oracle.*******" forbindelse.Open() Dim setning As String = "SELECT querys - changing on every button" Dim kommando As New System.Data.OracleClient.OracleCommand(setning, forbindelse) Dim dataleser As OracleClient.OracleDataReader dataleser = kommando.ExecuteReader() Me.Dgvstatistikk.DataSource = dataleser ''bind the results of the query to the listbox, make sure you have the display and value members of the listbox set to the correct column names in the query dataleser.Close()
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.