产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

[分享]首页新闻标题滚动 [复制链接]

1#

好贴,试用了一下
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0029: Cannot implicitly convert type 'System.Data.DataRowCollection' to 'System.Data.DataRow'

Source Error:



Line 14: for(int i=0;i<dt.Rows.Count;i++)
Line 15: {
Line 16: dr=dt.Rows;
Line 17: %> <li> <span class="title">
Line 18: <a href="<%=Detail_Url(dr)%>" target="<%=Target%>" title="<%=Server.HtmlEncode(dr["title"].ToString())%>"><%=SubStr(dr["title"].ToString(),Title_Num,true)%></a></span>


Source File: c:\Inetpub\wwwroot\whpa\e\zdymodel\article\module\135.ascx    Line: 16


出现以上错误,这是什么个情况
分享 转发
TOP
发新话题 回复该主题