该数据绑定bind()函数属于哪一类? [英] The databind bind() function belongs to which class?
问题描述
单向数据绑定评估
功能属于的DataBinder
类,并可以在一个页面中通过<$访问C $ C> TemplateControl.Eval 方法调用中使用的DataBinder.Eval
方法 GetDataItem
方法来解决对象引用了前pression反对评估,唷!
The one-way databind Eval
function belongs to DataBinder
class and can be accessed in a page through TemplateControl.Eval
method that calls the DataBinder.Eval
method using the GetDataItem
method to resolve the object reference that the expression is evaluated against, phew!
OK ......所以,如何数据绑定双向绑定
函数的工作?它属于哪一类?
OK... so, how the two-way databind Bind
function works? It belongs to which class?
推荐答案
据我可以告诉绑定不是一种方法,而是一种语言结构。
来源和补充阅读:<一href=\"http://weblogs.asp.net/leftslipper/archive/2007/06/29/how-asp-net-databinding-deals-with-eval-and-bind-statements.aspx\" rel=\"nofollow\">http://weblogs.asp.net/leftslipper/archive/2007/06/29/how-asp-net-databinding-deals-with-eval-and-bind-statements.aspx
As far as I could tell the "Bind" is not a method but rather a language construct.
Source and further reading: http://weblogs.asp.net/leftslipper/archive/2007/06/29/how-asp-net-databinding-deals-with-eval-and-bind-statements.aspx
这篇关于该数据绑定bind()函数属于哪一类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!