[英]Change excel sheet names with RDLC
I'm trying to create a report with RDLC and I can't change the sheet names in excel. 我正在尝试使用RDLC创建报告,但无法在Excel中更改工作表名称。 When i'm trying to change it from RDLC properties (by grouping) i have an error of invalid RDLC file (I read over the internet and discovered that this option doesn't work with RDLC).
当我尝试从RDLC属性(通过分组)更改它时,出现错误的RDLC文件错误(我通过互联网阅读并发现此选项不适用于RDLC)。 If I save the file (C:/inetpub/wwwroot/...) and then I try to open it with Interop.Excel it crashes on opening ( this ).
如果我保存文件(C:/ inetpub / wwwroot / ...),然后尝试使用Interop.Excel打开它,则在打开时会崩溃( this )。
I don't want to create any other folders or give permissions to other folders. 我不想创建任何其他文件夹或授予其他文件夹权限。 What other options I have?
我还有什么其他选择?
I found one way to change the name in Excel worksheet - assign PageName property of the table (Tablix) in the report. 我找到了一种在Excel工作表中更改名称的方法-在报表中分配表(Tablix)的PageName属性。
Here is more info: https://blogs.msdn.microsoft.com/robertbruckner/2010/05/16/report-design-naming-excel-worksheets/ 这是更多信息: https : //blogs.msdn.microsoft.com/robertbruckner/2010/05/16/report-design-naming-excel-worksheets/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.