Ejemplo n.º 1
0
    public void BindDDL()
    {
        #region 绑定图书分类和出版社
        DataTable dt = CategoriesManager.GetDataTableByCategories();
        GridViewHelp.BindDDL(dt, ddlcategory, "Name", "Id");

        DataTable dt2 = PublisherManager.GetDataTableByCategories();
        GridViewHelp.BindDDL(dt2, ddlpublisher, "Name", "Id");
        #endregion
    }