![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C# 读取 excel文件
文章平均质量分 75
zhouranlovesmile
这个作者很懒,什么都没留下…
展开
-
使用OleDbConnection读取Excel时的Microsoft.Ace.OleDb.12.0异常
使用OleDbConnection读取Excel文件时,代码没问题,编译时却报错:The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.解决办法:下载AccessDatabaseEngine.exe, 并右键单击,选择Open, 然后它自动配置好环境。这样再编译就不会报错了。附一原创 2016-10-30 22:32:02 · 9080 阅读 · 0 评论 -
C# Selenium 读取本地Excel文件并测试
实现效果:选择本地Excel文件,excel名称显示在ComBoBox中,excel内容显示在DataGridView中,点击"Send Web to Test" 按钮,就会进行相关测试。Form1.cs代码如下:using System;using System.Data;using System.IO;using System.Windows.Forms;using E原创 2016-11-01 17:52:12 · 1659 阅读 · 0 评论