1.
正确:<asp:Label ID="lblClassId" runat="server" Text='<%# Eval("TrainClass.ClassNum")%>'></asp:Label>
错误:<asp:Label ID="lblClassId" runat="server" ><%# Eval("TrainClass.ClassNum")%></asp:Label>
错误:<asp:Label ID="lblClassId" runat="server" Text=“<%# Eval("TrainClass.ClassNum")%>”></asp:Label>
2.
js中对hidden,visible='false'不能赋值,解决方法:display:none;