Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2010 使用分组和样式导出到Excel_Visual Studio 2010_Excel_C# 4.0 - Fatal编程技术网

Visual studio 2010 使用分组和样式导出到Excel

Visual studio 2010 使用分组和样式导出到Excel,visual-studio-2010,excel,c#-4.0,Visual Studio 2010,Excel,C# 4.0,我必须将数据导出到excel。在Excel工作表中,我必须保留一些样式和分组功能。我已尝试使用EPPlus.dll进行POC,但出现错误 Error 1 The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?) 我在vs 2010框架4中尝试了它 有谁能告诉我如何才能做到这一点。或关于错误或任何其他

我必须将数据导出到excel。在Excel工作表中,我必须保留一些样式和分组功能。我已尝试使用EPPlus.dll进行POC,但出现错误

Error   1   The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?)
我在vs 2010框架4中尝试了它

有谁能告诉我如何才能做到这一点。或关于错误或任何其他具有下载url的DLL


提前谢谢。

我不知道您要导出的代码是什么,也不知道您要导出什么,但这里有一些好提示-。您是否参考了DLL?充其量,使用nuget获得EPPLUs。