DEV控件绑定

1.Treelist控件绑定

        this.treeList1.DataSource = m_MenuInfos;
            this.treeList1.KeyFieldName = "MenuId";
            this.treeList1.ParentFieldName = "ParaentMenuId";
            this.treeList1.RefreshDataSource();
            treeList1.Refresh();

 

2.gridcontro控件绑定

        this.gdcUser.DataSource = m_User;
            this.gdcUser.RefreshDataSource();
            this.gdcUser.Refresh();

 

3.gridLookUpEdit控件绑定

 

            GUE_Type.DisplayMember = "TypeName";
            GUE_Type.ValueMember = "TypeId";
            GUE_Type.DataSource = m_TypeService.ParenTypeList();

 

posted @ 2018-12-11 15:57  zhaofangyan  阅读(139)  评论(0)    收藏  举报