哪个进程或类负责将 aspx 文件和数据绑定表达式转换为 c#?
例如
<%# Eval("XXXXX") %>
转化为:
public void @__DataBind__control118(object sender, System.EventArgs e)
{
System.Web.UI.WebControls.RepeaterItem Container;
System.Web.UI.DataBoundLiteralControl target;
#line 383 ""
target = ((System.Web.UI.DataBoundLiteralControl)(sender));
#line default
#line hidden
#line 383 ""
Container = ((System.Web.UI.WebControls.RepeaterItem)(target.BindingContainer));
#line default
#line hidden
#line 383 ""
target.SetDataBoundString(0,
System.Convert.ToString(Eval("XXXXX"), System.Globalization.CultureInfo.CurrentCulture));
#line default
#line hidden
}
这可以定制吗?