2 Star 3 Fork 0

陈伟 / DgvPage

 / 详情

其他项目文件引用异常

Backlog
Opened this issue  
2021-04-26 20:24

引用controlDgvPage1后是灰色,而且没有办法正常使用,cbbFormlist 是datagridview 控件,controlDgvPage1 的displaydev:dgvformlist
BllPermission bllPermission = new BllPermission();
List formlistInfos = bllPermission.FormlistsGet(out message).OrderBy(a => a.Name).ToList();

cbbFormlist.DataSource = formlistInfos;
controlDgvPage1.SetDataSource(formlistInfos, false);

Comments (2)

Star_Zhang9 created任务
Star_Zhang9 set related repository to 陈伟/DgvPage
展开全部操作日志

你有demo吗?可以给我一个 你做的简单demo,我调试一下看看什么情况。

控件默认设置的是不可以使用。
cbbFormlist.DataSource = formlistInfos;
controlDgvPage1.SetDataSource(formlistInfos, false);
datagridview 控件不用赋值数据源,【cbbFormlist.DataSource = formlistInfos】这个去掉。

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
C#
1
https://gitee.com/chenwei_MZ/dgv-page.git
git@gitee.com:chenwei_MZ/dgv-page.git
chenwei_MZ
dgv-page
DgvPage

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385