首页 新闻 会员 周边

急切求救!BUG问题

0
悬赏园豆:15 [已关闭问题] 关闭于 2010-04-17 16:32

很简单的2行代码:

        CacheOper co = new CacheOper();
        DataTable dt = co.GetUserFuncsFir("3");

就是从缓存中读取数据,co.GetUserFuncsFir("3")返回的就是一个DataTable,ddl重新生成添加了无数次,就是报这个错误:

Server Error in '/WebFrame' Application.

Unable to cast object of type 'System.String' to type 'System.Data.DataTable'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Data.DataTable'.

问题补充: 问题解决了,dll交叉引用导致的。旧的dll覆盖了新的,被这sb问题郁闷了一天,fuck
高凡凡高的主页 高凡凡高 | 初学一级 | 园豆:95
提问于:2010-04-17 14:01
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册