Simulating <%#Bind(...) %>

本文关键字:gt %#Bind lt Simulating | 更新日期: 2023-09-27 17:47:21

ASP.Net:

在代码隐藏中,我可以通过调用DataBinder.Eval(myObject,"Property");来模拟<%# Eval("Property")%>

如何模拟对<%# Bind("Property")%>的调用?

非常感谢

Simulating <%#Bind(...) %>

DataBinder. GetPropertyValue( myObject,"Property" )