绑定性能最高的Eval [英] Bind Vs Eval which one is most performance

查看:72
本文介绍了绑定性能最高的Eval的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问问题
我知道绑定是2种方式绑定
&& eval是只读的
意味着eval比bind更具有性能

&& Container.DataItem比2或相同的性能更好.

i want to ask question
i know bind is 2 way binding
&& eval is read only
is that mean eval is more performance than bind

&& Container.DataItem is more perfomnce than the 2 or the same

推荐答案

Eval()和Bind()表达式在asp.net GridView和DetailsView中大量使用. br/> 两者之间的区别在于,Eval用于只读目的,而Bind用于读/编辑目的.因为eval仅是只读的,所以它比绑定要快(因为绑定支持读/编辑)

评估与绑定 [
Eval() and Bind() expressions are heavily used in asp.net GridView and DetailsView.
The difference between these two is that Eval is used for read only purpose and Bind is used for read/edit purpose. as eval is only readonly it is faster than bind (as bind support read/edit)

Eval vs Bind[^]


md_refay,

EVAL( )和Bind()

我希望它能对您有所帮助,并且任何其他疑问都会回复我.
祝你玩得开心!!!
Hi md_refay,

EVAL()and Bind()

i hope it helps you and any more queries reply me.
Have a good time!!!


这篇关于绑定性能最高的Eval的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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