在ASP.NET中使用OWC创建统计图问题!
在ASP.NET中使用Office Web Components (OWC)创建统计图(作者: 孟子E章)(http://xml.sz.luohuedu.net/xml/ShowDetail.asp?id=ADB6D011-A4AD-43A0-A8BF-3CED872A7A95)
执行到:
string strAbsolutePath = (Server.MapPath(".")) + "\\i\\test.gif";
objCSpace.ExportPicture(strAbsolutePath, "GIF", 600, 350);//出现:
异常详细信息: System.Runtime.InteropServices.COMException: 无法打开文件 c:\inetpub\wwwroot\WebApplication2\i\test.gif 以进行导出。
为什么?
另外:strValue += (nodes.Item(j).ChildNodes.Item(0).InnerText + '\t');
strCategory += (nodes.Item(j).ChildNodes.Item(1).InnerText + '\t');是什么意思?(如果换成dataset如何用)