🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #92396

[vb.net + oracle] Problem z polaczeniem z baza.

#92396
From: szaki
Date: Tue, 25 Oct 2005 21:56
22 lines
1677 bytes
Witam,
Mam problem z polaczeniem z baza niby wpisuje wszystko jak nalezy
powiedzailbym ksiazkowo a pojawia mi sie ciagle blad o tresci:

'OracleConnection' is ambiguous, imported from the namespaces or types
'System.Data.OracleClient, Oracle.DataAccess.Client'.

w kodzie:

Dim numer_zapyt As String
        numer_zapyt = Numer.Text
Dim sql As String = "select dname from dept where deptno = 10"
Dim cmd As New OracleConnection(sql,  polacz.myConnectionString)

Przy OracleConnection.

Wgralem juz providera Oraclowego i nic, pododawalem wszystkie
bibloteki jakie moglem.

Za wszelkie info z gory dzieki.

Pozdrawiam Luk
Technical Details
Message-ID: <1130277411.980608.44340@g49g2000cwa.googlegroups.com>
Path: mbox-mo1.pugleaf.net!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail
From: "szaki" <ljagoda@o2.pl>
Newsgroups: pl.comp.lang.vbasic
Subject: [vb.net + oracle] Problem z polaczeniem z baza.
Date: 25 Oct 2005 14:56:52 -0700
Organization: http://groups.google.com
Lines: 23
Message-ID: <1130277411.980608.44340@g49g2000cwa.googlegroups.com>
NNTP-Posting-Host: 217.113.233.13
Mime-Version: 1.0
X-Trace: posting.google.com 1130277417 13807 127.0.0.1 (25 Oct 2005 21:56:57 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 25 Oct 2005 21:56:57 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g49g2000cwa.googlegroups.com; posting-host=217.113.233.13; posting-account=FswTwg0AAABv7PEssaj5QWzP6AiA50bm
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit