存在一个显式转换(是否缺少强制转换

askformore110 2012-04-26 11:20:51
错误 216 无法将类型“System.Collections.Generic.IEnumerable<GZLPMS.BusinessLogicLayer.Common.GZLSiteConfiguration.SiteMapTree>”隐式转换为“System.Collections.Generic.IEnumerable<GZLPMS.BusinessLogicLayer.Common.SiteMapTree>”。存在一个显式转换(是否缺少强制转换?) C:\Users\gnbguo\Desktop\新建文件夹\GZLPMS\GZLPMS\GZLPMS.Web\WebService\GZLSiteConfigrationService.asmx.cs 45 22 GZLPMS.Web
...全文
427 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
orochiheart 2012-04-26
  • 打赏
  • 举报
回复
分析一下,
去掉前面那些前缀
GZLSiteConfiguration.SiteMapTree和SiteMapTree是两种类型,要么前者转成后者 要么后者转为前者
你的实际情况是什么样的呢?最好贴出你的代码
  • 打赏
  • 举报
回复
贴错误行

111,126

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧