예제 #1
0
    private void Bindcategory()
    {
        DataSet ds = new DataSet();

        ds = catrep.BindAddcategory();
        rptCategory.DataSource = ds.Tables[0];
        rptCategory.DataBind();
    }
예제 #2
0
        private void BindAddcategory()
        {
            DataSet ds = new DataSet();

            ds = catrep.BindAddcategory();
            GridView1.DataSource = ds.Tables[0];
            GridView1.DataBind();
        }