在编译服务此请求所需的资源期间发生错误。请查看以下特定错误详细信息并相应地修改源代码。 [英] 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.

查看:68
本文介绍了在编译服务此请求所需的资源期间发生错误。请查看以下特定错误详细信息并相应地修改源代码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 <   asp:TemplateField     HeaderText   = 批准状态 >  
< ItemTemplate > < asp :HyperLink ID = hpapp runat = server 工具提示 =' <% #Eval( approvedby%> ' 文字 =' <% #Eval( cntapp%> / <% #Eval( cntrm%> ' < span class =code-attribute> > < / asp:HyperLink >
< <跨度 class =code-leadattribute> asp:HiddenField ID = hdnapp runat = server =' <% #Eval( cntapp%> ' / >
< asp:HiddenField ID = hdncntrm runat = server =' <% #Eval ( cntrm%> ' / >











其中是错误

我必须增加计数

解决方案

嘿那里,



我认为问题在于代码的这一特定部分:

 Text ='<% #Eval(  cntapp)%> / <%# Eval(  cntrm)%>'



试试这个:

 Text ='<% #Eval(  cntapp)+   / + Eval(  cntrm)%>'



如果它解决了您的问题,请告诉我。



Azee ......

<在SQL查询中的





cntapp +'/'+ cntrm as n



Text = '<%#的eval( N)%>'

<asp:TemplateField HeaderText="Approval Status">
<ItemTemplate><asp:HyperLink ID="hpapp" runat="server" ToolTip='<%#Eval("approvedby") %>'  Text='<%#Eval("cntapp") %>/<%#Eval("cntrm") %>'  ></asp:HyperLink>
<asp:HiddenField ID="hdnapp" runat="server" Value='<%#Eval("cntapp") %>' />
<asp:HiddenField ID="hdncntrm" runat="server" Value='<%#Eval("cntrm") %>' />






where is the error
and i have to increase the count

解决方案

Hey there,

I think the problem is with this specific part of your code:

Text='<%#Eval("cntapp") %>/<%#Eval("cntrm") %>'


Try this:

Text='<%#Eval("cntapp") + "/" + Eval("cntrm") %>'


Please let me know if it fixes your problem or not.

Azee...


in sql Query

cntapp+'/'+cntrm as n

Text='<%#Eval("n")%>'


这篇关于在编译服务此请求所需的资源期间发生错误。请查看以下特定错误详细信息并相应地修改源代码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆