在ShowImage.aspx中调用FileManageService.asmx中的方法代码如下:
FileManageService file=new FileManageService();
byte[] filebyte=file.GetImage(Server.MapPath(myfile.FilePath));
奇怪的是当给GetImage()传入参数为空时程序能继续往下走。
但是一但传入不为空就在这句代码处结束了
这是怎么回事
FileManageService file=new FileManageService();
byte[] filebyte=file.GetImage(Server.MapPath(myfile.FilePath));
奇怪的是当给GetImage()传入参数为空时程序能继续往下走。
但是一但传入不为空就在这句代码处结束了
这是怎么回事
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货