[mono-vb] Implementing Runtime.CompilerServices.LateBinding
Philipp Knecht
ph_knecht@yahoo.com
Wed, 3 Nov 2004 00:25:36 +0100 (CET)
so here we go :-)
> It would help if you documented what errors you get,
> so those can be
> fixed.
>
> miguel
The Error is:
System.NotImplementedExcepton:LateBinding not
implemented in ......
Microsoft.VisualBasic.CompilerServices.LateBinding:LateGet
Steps to reproduce the behaviour:
Imports System.Data
Module Module1
Sub Main()
Dim o As Object
Dim c As Object
Dim connstr = "Server=127.0.0.1;user
id=sa;password=blabla1;database=northwind"
Dim sql = "Select * from products where
categoryid=1"
Dim cn As SqlClient.SqlConnection = New
SqlClient.SqlConnection(connstr)
Dim cmd As SqlClient.SqlCommand =
cn.CreateCommand()
cn.Open()
cmd.CommandText = sql
Dim dr As SqlClient.SqlDataReader =
cmd.ExecuteReader()
Do While dr.Read()
Loop
c = 1
o = dr(c)
Dim inp As Integer = Console.Read()
End Sub
End Module
hope to help
greets
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de