我一直在使用ASP.NET多年,但我永远不会记得当使用#和=是适当的。
例如:
<%= Grid.ClientID %>
要么
<%# Eval("FullName")%>
有人可以解释什么时候应该使用,所以我可以保持直线在我的脑海里? #仅在支持数据绑定的控件中使用?
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。