Still stuck here .... the code runs till the last line then hang for about 10-15 seconds then returns the error shown below the code sample. This is basically straight out of and example....
Dim oSQLConn As SqlConnection = New SqlConnection
oSQLConn.ConnectionString = "Initial Catalog=rathmisc;User Id=sysadm;Password=sysadm;"
Dim MyDataAdaptor As System.Data.sqlclient.SqlDataAdapter
Dim MyDataTable As New DataSet
Dim ds As New DataSet
MyDataAdaptor = New SqlDataAdapter("select * from tbl_data_laser_1", oSQLConn)
MyDataAdaptor.Fill(ds)
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll
Additional information: System error.
tia jeff
Dim oSQLConn As SqlConnection = New SqlConnection
oSQLConn.ConnectionString = "Initial Catalog=rathmisc;User Id=sysadm;Password=sysadm;"
Dim MyDataAdaptor As System.Data.sqlclient.SqlDataAdapter
Dim MyDataTable As New DataSet
Dim ds As New DataSet
MyDataAdaptor = New SqlDataAdapter("select * from tbl_data_laser_1", oSQLConn)
MyDataAdaptor.Fill(ds)
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll
Additional information: System error.
tia jeff