关键词不能为空

当前您在: 主页 > 英语 >

DevExpress中GridControl的属性设置及动态绑定数据和全选取消全选

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-19 02:23
tags:

-

2021年2月19日发(作者:表演艺术家)


DevExpress



GridContro l


的属性设置



1.


隐藏最上面的


GroupPanel


oupPanel=false;



2.



得到当前选定记录某字段的值



sVa lue=[dRowHandle][FieldName].ToString();



3.



数据只读



le=false;



4.


不显示


MasterDetailView



MasterViewMode=false;


< p>
5.


修改最上面的


GroupPanel


内容



anelText=



6.


数据绑定:



FieldName


--数据库的字段名称




7.


读写拷贝权限设置



le


This property returns a value of the le option


不可写



le


Gets or sets whether end users are allowed to invoke cell editors


可读可写



dit


Gets or sets whether end users are allowed to invoke editors for the column's cells.


可读可写



只有


le=True


设置


OptionsColumnAllowEdit


才有意义。



ly


Gets or sets whether end-users are prevented from editing the column's cell values.


可读可写



只读不可拷贝:



le = False


只读可拷贝


:


le = True


dit = True


ly = True

-


-


-


-


-


-


-


-



本文更新与2021-02-19 02:23,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/666494.html

DevExpress中GridControl的属性设置及动态绑定数据和全选取消全选的相关文章

DevExpress中GridControl的属性设置及动态绑定数据和全选取消全选随机文章