سلام خدمت کاربران وب سایت پروگرم 98 😉 در این پست کد خواندن داده های Access با OleDbConnection و OleDbDataReader در سی شارپ #C را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
کد خواندن داده های Access با OleDbConnection و OleDbDataReader در سی شارپ #C :
using System;
using System.Data;
using System.Data.OleDb;
using System.Collections.Generic;
using System.Text;
class Program{
static void Main(string[] args){
OleDbConnection thisConnection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=nwind.mdb");
thisConnection.Open();
OleDbCommand thisCommand = thisConnection.CreateCommand();
using System.Data;
using System.Data.OleDb;
using System.Collections.Generic;
using System.Text;
class Program{
static void Main(string[] args){
OleDbConnection thisConnection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=nwind.mdb");
thisConnection.Open();
OleDbCommand thisCommand = thisConnection.CreateCommand();