به نام خدا سلام بر برنامه نویسان عزیز 😉 در این مطلب کد متصل شدن به اوراکل با .NET data provider برای OLE DB در سی شارپ #C را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
کد متصل شدن به اوراکل با .NET data provider برای OLE DB در سی شارپ #C :
using System;
using System.Data.OracleClient;
using System.Data.OleDb;
using System.Data.Odbc;
class Program
{
static void Main(string[] args)
{
string oledbConnectString = "Provider=MSDAORA;Data Source=ORCL;User Id=hr;Password=password;";
using (OleDbConnection connection = new OleDbConnection(oledbConnectString))
using System.Data.OracleClient;
using System.Data.OleDb;
using System.Data.Odbc;
class Program
{
static void Main(string[] args)
{
string oledbConnectString = "Provider=MSDAORA;Data Source=ORCL;User Id=hr;Password=password;";
using (OleDbConnection connection = new OleDbConnection(oledbConnectString))