<%#的eval("国家")%GT;或LT;%#DataBinder.Eval的(的Container.DataItem,"态QUOT;)%GT; [英] <%# Eval("State") %> or <%# DataBinder.Eval(Container.DataItem, "state")%>

查看:118
本文介绍了<%#的eval("国家")%GT;或LT;%#DataBinder.Eval的(的Container.DataItem,"态QUOT;)%GT;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是有什么的区别

<%# Eval("State") %>

ASPX 页,对有

<%# DataBinder.Eval(Container.DataItem, "State") %>

ASPX 页?

推荐答案

评估(国家)是DataBinder.Eval的(的Container.DataItem,国家)语法的简化形式。它只能数据绑定控件模板里面。

Eval("State") is a simplified form of the DataBinder.Eval(Container.DataItem, "State") syntax. It only works inside of data-bound template controls.

有关更多信息,请参见 MSDN文档

For more info, see the MSDN documentation.

这篇关于&LT;%#的eval(&QUOT;国家&QUOT;)%GT;或LT;%#DataBinder.Eval的(的Container.DataItem,&QUOT;态QUOT;)%GT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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