Hi,

 

����������� I am trying to run the code below, but it doesn't seem to work.I am only filling a dataset, but I always get an exception.

 

Module Module1

 

    Sub Main()

        Try

            Dim lCnn As IDbConnection

            lCnn = New OracleClient.OracleConnection("Data Source=mono;user id=XXXXX;pwd=YYYYY")

            lCnn.Open()

            Dim lAdapter As IDbDataAdapter

            lAdapter = New OracleClient.OracleDataAdapter("SELECT * from Test", lCnn)

            Dim lDataSet As DataSet

            lDataSet = New DataSet("Test")

            Console.WriteLine("Before Fill")

            lAdapter.Fill(lDataSet)

            Console.WriteLine("After Fill")

        Catch ex As Exception

            Console.WriteLine(ex.ToString)

        End Try

    End Sub

 

End Module

 

 

     I am running under linux with the last version of mono and I am connecting to oracle. What can I do? Is the fill method running ok under oracle?

 

      Thank you very much !! Alex

 

 

�lex L�pez Garc�a

Area de desenvolupament del RAIM Server

Centre d'Imatge M�dica Digital

UDIAT - PARC TAULI, S/N - Sabadell - Barcelona

Tel. 93 693 33 22

 

Reply via email to