我收到此错误bc30205在我的代码下面的行中预期的语句结束。有任何建议可以解决这个问题吗?
<td style="width:20%">
<asp:Label ID="lblDoseStrength" runat="server" Text='<%# If(IsDbNull(Eval("Value.DoseStrength1")), " ", Eval("Value.DoseStrength1")) + " " + If(IsDbNull(Eval("Value.DoseUnit1")), " ", Eval("Value.DoseUnit1")) + " " + If(IsDbNull(Eval("Value.DoseForm1")), " ", Eval("Value.DoseForm1")) + " " + If(IsDbNull(Eval("Value.DoseMult1")), " ", Eval("Value.DoseMult1"))) %>'></asp:Label>
</td>
答案 0 :(得分:2)
您应该删除最后的括号。改为:
<a class="project" data-project-id="1" href="#">Project</a>
<a class="project" data-project-id="2" href="#">Project</a>
<a class="project" data-project-id="3" href="#">Project</a>