我收到以下错误:BC30311:类型'System.Globalization.CultureInfo'的值无法转换为'String'。 [英] I am getting the following error: BC30311: Value of type 'System.Globalization.CultureInfo' cannot be converted to 'String'.
本文介绍了我收到以下错误:BC30311:类型'System.Globalization.CultureInfo'的值无法转换为'String'。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到以下错误:
BC30311:System.Globalization.CultureInfo类型的值不能是转换为''字符串''。
请帮我清除此错误。 />
I am getting the following error:
BC30311: Value of type ''System.Globalization.CultureInfo'' cannot be converted to ''String''.
Please help me to clear this error.
Source Error:
Line 131:
Line 132: <ItemTemplate>
Line 133: <asp:Label ID="designation" Text='<%#databinder.Eval(Container.dataitem,"designation" %>' runat="server" >
</asp:Label>
Line 134: </ItemTemplate>
Line 135: </asp:TemplateField>
推荐答案
你好,
我也有这个错误 - 你在数据仓调用结束时错过了一个方括号。
第133行:< asp:label id =namestext =< #databinder.Eval(Container.dataitem,designation)%> ;runat =serverxmlns:asp =#unknown> ;;
Hi there,
I had this error too - you''re missing a bracket at the end of the databinder call.
Line 133: <asp:label id="designation" text="<#databinder.Eval(Container.dataitem,"designation" ) %>" runat="server" xmlns:asp="#unknown">;
这篇关于我收到以下错误:BC30311:类型'System.Globalization.CultureInfo'的值无法转换为'String'。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文