View Full Version : อยาก link Oracle เข้ากับ VB
NaokiJung
31-01-2008, 06:33 PM
คือตอนนี้ผมใช้โปรแกรม VB 2005 ทำโปรเจคอยู่ครับ มีวิธีที่จะเอาฐานข้อมูลจาก oracle มา link เข้า VB ได้มั้ยครับ ถ้าได้เป็นแหล่งข้อมูลจะขอบคุณมากครับ คือตอนนี้ติดอยู่ที่เอามันมาลิงค์กันเนี่ยแหละ ผู้รู้ช่วยทีนะครับ
snapter
31-01-2008, 09:37 PM
Try this na..
**Hidden Content: Check the thread to see hidden data.**
NaokiJung
07-02-2008, 04:51 PM
เอ่อ ไม่ได้อ่าครับ ตอนนี้ add ฐานข้อมูลเข้า datasource ได้แล้ว แต่พอลอง binding ดู มันขึ้นว่า
An unhandled exception of type 'System.Data.OracleClient.OracleException' occurred in System.Data.OracleClient.dll
Additional information: ORA-01005: null password given; logon denied
[/b]
งี๊อ่ะครับ
ไม่แน่ใจว่าเป็นเพราะอะไร ใครเคยเจอช่วยแก้ไขให้ด้วยครับ
snapter
07-02-2008, 09:35 PM
Wanna see your connection code. I think you forgot to Provide Password or User ID to login to the Database cause it said "null password given; logon denied"
For example:
[code]Imports Oracle.DataAccess.Client
Dim c As OracleConnection = New OracleConnection()
c.Provider = "MSDAORA.1"
NaokiJung
14-03-2008, 08:23 PM
ตอนนี้ทำได้แล้วครับ ขอบคุณสำหรับความช่วยเหลือนะครับ
Powered by vBulletin® Version 4.2.5 Copyright © 2026 vBulletin Solutions Inc. All rights reserved.