mirna_kh
05-05-06, 10:43
| Hi! Greetings to everyone. This is my first post at the forum. I have a small issue concerning the output data from the tabs table. A small part of the output is shown correct in the combobox; the rest is shown as pipes "||||" so any clue, what might help!! here is part of the code segment: Dim oradb As String = "Data Source=OPERA;User Id=vendome;Password=vendome;" Dim conn As New OracleConnection(oradb) Try conn.Open() Dim cmd As New OracleCommand() cmd.CommandText = "select table_name from tabs" cmd.Connection = conn cmd.CommandType = CommandType.Text Dim rd As OracleDataReader = cmd.ExecuteReader While (rd.Read) CMB.Items.Add(rd.GetValue(0)) End While Catch ex As Exception ' catches any error MessageBox.Show(ex.Message.ToString()) Finally conn.Dispose() End Try |