Exemplo n.º 1
0
 /// <summary>
 /// 进行数据绑定
 /// </summary>
 protected virtual void DataBind()
 {
     if (DataModel != null)
     {
         HtmlBinding.DataBind(HtmlScope, DataModel);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// 执行数据绑定
        /// </summary>
        protected virtual void DataBind()
        {
            Trace.Write("Jumony Binding", "Begin DataBind");

            HtmlBinding.DataBind(Scope, ViewData);

            Trace.Write("Jumony Binding", "End DataBind");
        }