找不到类型或命名空间名称“OleDbConnection”(是否缺少 using 指令或程序集引用?) 引入using System.Data.OleDb;即可 黑色头发:http://heisetoufa.iteye.com