首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

CS1502: 与“iTextSharp.text.pdf.PdfReader.LZWDecode(byte[])”最匹配的重载方法具有一些无效参数解决办法

2012-02-25 
CS1502: 与“iTextSharp.text.pdf.PdfReader.LZWDecode(byte[])”最匹配的重载方法具有一些无效参数各位大哥

CS1502: 与“iTextSharp.text.pdf.PdfReader.LZWDecode(byte[])”最匹配的重载方法具有一些无效参数
各位大哥帮我看看路径的问题.

源错误:

 

行   484:                         string   PdfName   =   tempPdfName   +   ". "   +   "pdf ";
行   485:                         TableToPDF.ConvertDataTableToPDF(dtb,   Convert.ToString(Server.MapPath(@ "/pdf/ "+PdfName)),   Convert.ToString( "C:\\WINDOWS\\Fonts\\simsun.ttc,1 "),   12);
行   486:                         CreatePDFheader(PdfReader.LZWDecode(Server.MapPath(@ "/pdf/ "+PdfName)),   Server.MapPath( "/images/logo-binhon2.gif "),   "PDF页脚 ");
行   487:                 }
行   488:         }
 

源文件:   e:\n\3CMarket\customize2.aspx.cs         行:   486

[解决办法]
错误已经说的很清楚了,没有匹配的重载方法

自己再看一下那个方法
[解决办法]
路径没问题.好好检查参数

热点排行