NPOI读取数据,创建filestream实例时总是出错 FileStream fs = File.Open(path,FileMode.Open);报什么错? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我搞错了,是for循环里bianhao[i] = (int)cell.NumericCellValue;出错的,但是我看不懂错误信息,你给看下 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } 晕,看来你不太会调试。你给我的代码没什么用,我要的是中文的错误描述。(int)cell.NumericCellValue,循环到cell.NumericCellValue错误的时候,这里的值是多少。很有可能是强转失败。 应该是你循环中i的取值不对,与xls文件中没有对应上 在datagridview里显示数据 C#操作Excel,懂Excel也可以进来看下。 【WPF】如何把Expander的Header里的ToggleButton禁用 请问一下C#有没有类库,可以操作数据库,不需要关闭的啊 关于调用Process路径问题 Url重写,不知道session为什么就为null了 C#和SQL2005有关,高手请进 如何作一个游戏对战平台? 高分求最简洁代码 如何取字符串右不定的几位,急! C#调用EXCEL模板组件问题,急!急!急!急! 求按时间段计费的算法
但是我看不懂错误信息,你给看下 protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}