编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。源错误: 行 625: <itemtemplate>
行 626: <tr>
行 627: <td height=25><a href='<% #container.dataitem("href")%>'><% #container.dataitem("name")%></a></td>
行 628: </tr>
行 629: </itemtemplate>
源文件: e:\wwwroot\qiuyin\index.aspx 行: 627 显示详细的编译器输出:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.0.3705\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.data.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\root\aad6ae0c\33f8d5f\7m2fzx-m.dll" /debug- /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\root\aad6ae0c\33f8d5f\7m2fzx-m.res" "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\root\aad6ae0c\33f8d5f\7m2fzx-m.0.vb"
Microsoft (R) Visual Basic .NET 编译器版本 7.00.9466
用于 Microsoft (R) .NET 框架版本 1.00.3705
版权所有 (C) Microsoft Corporation 1987-2001。保留所有权利。e:\wwwroot\qiuyin\index.aspx(627) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("name")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(627) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("href")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(659) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("name")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(659) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("id")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(691) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("name")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(691) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("href")
~~~~~~~~~ 请问这是怎么回事啊 /?????以前没有遇到过。。
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。源错误: 行 625: <itemtemplate>
行 626: <tr>
行 627: <td height=25><a href='<% #container.dataitem("href")%>'><% #container.dataitem("name")%></a></td>
行 628: </tr>
行 629: </itemtemplate>
源文件: e:\wwwroot\qiuyin\index.aspx 行: 627 显示详细的编译器输出:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.0.3705\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.data.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\root\aad6ae0c\33f8d5f\7m2fzx-m.dll" /debug- /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\root\aad6ae0c\33f8d5f\7m2fzx-m.res" "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\root\aad6ae0c\33f8d5f\7m2fzx-m.0.vb"
Microsoft (R) Visual Basic .NET 编译器版本 7.00.9466
用于 Microsoft (R) .NET 框架版本 1.00.3705
版权所有 (C) Microsoft Corporation 1987-2001。保留所有权利。e:\wwwroot\qiuyin\index.aspx(627) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("name")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(627) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("href")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(659) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("name")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(659) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("id")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(691) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("name")
~~~~~~~~~
e:\wwwroot\qiuyin\index.aspx(691) : error BC30248: 应为“If”、“ElseIf”、“Else”、“End If”或“Const”。 #container.dataitem("href")
~~~~~~~~~ 请问这是怎么回事啊 /?????以前没有遇到过。。
解决方案 »
- 如何学习jquery
- Asp.net MVC 控制器的类名为什么一定是 XxxController??
- 只要在SqlDataSource_Load事件中绑定SelectCommand,会导致GridView更新出错?
- 这个怎么办??一个空间里做多个网站,详情请进。
- 大家都来帮我看看呀!!!!
- 初学asp.net问个简单的环境配置问题(在线等待解决就给分)
- webconfig.xml 里面如何修改 连接字符串?
- 为什么我的用户控件用不了呢?
- 大数据的上传和导入
- access中请问在insert语句中如何向时间类型字段写入当前时间。谢谢。
- 我取服务器时间为什么少12个小时
- 问一个关于自定义控件的问题
都改成
<%# DataBinder.Eval(Container.DataItem, "href")%>
用<%#container.dataitem("href")%>
为什么会出现这个错误啊 。