代码有误,报错
While j < dataGridview1.Rows.Count
应该为
While j < dataGridview1.Rows.Count - 1
因为要考虑行头的缘故
码姐姐匿名网友2019-04-28 02:25:51
可以导出,但是会有warning: The file you are trying to open, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?
但是点 Yes 后可以得到导出的文档
方法不错,可行性很好!
一般哈,真的一般,当基础都勉强
代码有误,报错 While j < dataGridview1.Rows.Count 应该为 While j < dataGridview1.Rows.Count - 1 因为要考虑行头的缘故
可以导出,但是会有warning: The file you are trying to open, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now? 但是点 Yes 后可以得到导出的文档
可以运行,但是用vs2013调试导出为空文件
是可以使用,但是这个导出来的数据是excel2003版本的,没有导出excel2008版本的吗
还不错 能直接用 可以借鉴
借鉴一下,不过貌似帮助不大
我下错了,不是我想要的.
不错,可以直接用