14-03-18, 01:57 AM
(آخر تعديل لهذه المشاركة : 14-03-18, 10:06 AM {2} بواسطة Amir_Alzubidy.
تعديل السبب: تعديل العنوان
)
السلام عليكم
احاول بعمل مشروع VB.NET WITH ORACLE 11G DATABASE
ولكن يظهر الخطأ التالي
System.Data.OleDb.OleDbException was unhandled
ErrorCode=-2147467259
HResult=-2147467259
Message=Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
وهذا هو الكود
Imports System.Data.OleDb
Public Class frmemployee
Dim conn As New OleDbConnection("provider=msdaora;datasource=orcl;user id=exceed;password=exceed")
Dim cmd As New OleDbCommand()
Private Sub frmemployee_Load(sender As Object, e As EventArgs) Handles MyBase.Load
cmd.Connection = conn
cmd.CommandText = "select from * acc_account oreder by empno"
conn.Open()
conn.Close()
End Sub
End Class
ارجو المساعدة
احاول بعمل مشروع VB.NET WITH ORACLE 11G DATABASE
ولكن يظهر الخطأ التالي
System.Data.OleDb.OleDbException was unhandled
ErrorCode=-2147467259
HResult=-2147467259
Message=Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
وهذا هو الكود
Imports System.Data.OleDb
Public Class frmemployee
Dim conn As New OleDbConnection("provider=msdaora;datasource=orcl;user id=exceed;password=exceed")
Dim cmd As New OleDbCommand()
Private Sub frmemployee_Load(sender As Object, e As EventArgs) Handles MyBase.Load
cmd.Connection = conn
cmd.CommandText = "select from * acc_account oreder by empno"
conn.Open()
conn.Close()
End Sub
End Class
ارجو المساعدة