Home > Database > Mysql Tutorial > C#连接Access和SQL Server数据库

C#连接Access和SQL Server数据库

WBOY
Release: 2016-06-07 15:48:56
Original
1023 people have browsed it

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Data.OleDb;using System.Windows.Forms;using System.Data.SqlClient;namespace S

 

其中的简易办法:

 

在“服务器资源管理器”中选择要连接的数据,then看它的属性中Name,copy to strConnection 即可~

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template