コード例 #1
0
        public void DataBind(string key = "")
        {
            DataTable dt = bsource.GetSourceAll();

            Egv.DataSource = dt;
            Egv.DataBind();
        }
コード例 #2
0
ファイル: SourceManage.aspx.cs プロジェクト: zwt-zf/cms
    public void MyBind()
    {
        B_Source bsource = new B_Source();

        GridView1.DataSource = bsource.GetSourceAll();// GetAuthorPage(0, 0, 10);
        GridView1.DataBind();
    }
コード例 #3
0
ファイル: SelectSource.aspx.cs プロジェクト: zwt-zf/cms
    /// <summary>
    /// 来源绑定
    /// </summary>
    protected void MyBind()
    {
        B_Source  bsource = new B_Source();
        DataTable dt      = bsource.GetSourceAll();

        RepFiles.DataSource = dt;
        RepFiles.DataBind();
    }
コード例 #4
0
        /// <summary>
        /// 来源绑定
        /// </summary>
        protected void MyBind()
        {
            B_Source  bsource = new B_Source();
            DataTable dt      = bsource.GetSourceAll();

            RepFiles.DataSource = dt;
            RepFiles.DataBind();
            if (dt != null)
            {
                dt.Dispose();
            }
        }