G
Guest
I am trying to access a sybase database via an odbc call. here is a snipit of cod
Imports System.Data.Odb
dim sql_statement="Select * from test_table
Dim con = New OdbcConnection("DSN=Sybase Has4win"
con.open(
Dim command As New OdbcComman
command.Connection = co
command.CommandType = CommandType.Tex
command.CommandText = sql_statemen
Dim reader As OdbcDataReade
reader = command.ExecuteReade
Do While reader.Read(
'populate datset with cal
Loo
reader.Close(
con.Close(
the app fails on
reader = command.ExecuteReader with no errors, just the generic we have encountered a problem blah blah bla
any ideas
thank
Imports System.Data.Odb
dim sql_statement="Select * from test_table
Dim con = New OdbcConnection("DSN=Sybase Has4win"
con.open(
Dim command As New OdbcComman
command.Connection = co
command.CommandType = CommandType.Tex
command.CommandText = sql_statemen
Dim reader As OdbcDataReade
reader = command.ExecuteReade
Do While reader.Read(
'populate datset with cal
Loo
reader.Close(
con.Close(
the app fails on
reader = command.ExecuteReader with no errors, just the generic we have encountered a problem blah blah bla
any ideas
thank