/// <summary> /// 进行数据绑定 /// </summary> protected virtual void DataBind() { if (DataModel != null) { HtmlBinding.DataBind(HtmlScope, DataModel); } }
/// <summary> /// 执行数据绑定 /// </summary> protected virtual void DataBind() { Trace.Write("Jumony Binding", "Begin DataBind"); HtmlBinding.DataBind(Scope, ViewData); Trace.Write("Jumony Binding", "End DataBind"); }