产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

69行又错误,请大神指点 [复制链接]

1#
Column 'pa_canshu' does not belong to table default.
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.ArgumentException: Column 'pa_canshu' does not belong to table default.

Source Error:

Line 67: <div class="tabcontent"><dl class="tab_c" id="tab_c">
Line 68: <dd><%=dr["content"]%></dd>
Line 69: <dd><%=dr["pa_canshu"]%></dd>
Line 70: <dd><script src="/e/aspx/ajax_list.aspx?modelid=93" type="text/javascript"></script>
Line 71: <script type="text/javascript">
分享 转发
TOP
2#

这个错误意思是
pa_canshu这个字段不存在,但是模型中调用了这个字段,所以出错,直接在模型中删除 <%=dr["pa_canshu"]%>这段
TOP
发新话题 回复该主题