1.在Sql2005创建对应的表"Roll"
2.应用以下这段代码
string execelConnectionStr = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Book1.xls;Extended Properties=""Excel 8.0;HDR=YES;""";
using (OleDbConnection conn = new OleDbConnection(execelConnectionStr))
}
3.Excel导入、导出数据到access,使用Com组件
public static void ExcelImportDB()
}
相关文章:
-
2021-06-26
-
2021-11-13
-
2022-12-23
-
2021-09-25
-
2022-02-01
-
2021-11-23
猜你喜欢
-
2021-08-18
-
2022-12-23
-
2021-11-23
-
2022-01-05
-
2022-01-20
相关资源
-
下载
2023-02-05
-
下载
2021-06-05
-
下载
2021-06-06