Saturday, July 12, 2014

C# MS Access Database Tutorial 1 # Getting Started and Access database C...









1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
namespace AccessLoginApp
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            try
            {
                OleDbConnection connection = new OleDbConnection();
                connection.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\dwishika\Documents\Access Database\EmployeeInfo.accdb;
Persist Security Info=False;";
                connection.Open();
                checkConnection.Text = "Connection Successful";
                connection.Close();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error  "+ ex);
            }
        }
    }
}












_____________________________________________

C# Windows Form Application MS Access Connection

c# - How can I connect to MS Accessfrom windows forms?

Using Visual C# Windows Forms with MS Access

C# Programming for beginners: How to connect MS

Verwandte Suchanfragen zu C# MS Access Database Tutorial

ms access database tutorial pdf

microsoft access database tutorial

c# ms access database connection

c# ms access database example

how to connect ms access database in c#

AccessDatabase

Windows Form Application using MS AccessServer

Connect MS Accessfrom C# Windows Forms

MS Accessproblem to connect with windows form c#

C# Windows Form Application MS AccessConnection

MS Access And Visual C# 2010 Windows Form Application

MS Access:: Connecting to MS Accesswith a Windows Form application

C# Form textbox string into SQL Database

visual c# CLR windows form application and mysql

assembly reference not working in C# script

Trying to connect to MySQL from C# application

mysql and C# window form application

How to connect MS Accessusing C#?‎

No comments:

Post a Comment