手工绑定某个下拉数据窗口(LookUpEdit)的数据源

1、先在DataBinderTools里写绑定数据源的代码,类似于:
C# Code:
[CG_LookupDataBoundAttribute("绑定组织机构", CG_EditorType.RepositoryItemEditor)]
public static void BoundOrganization(RepositoryItemLookUpEdit lue)
{}
//来源:C/S框架网 | www.csframework.com | QQ:23404761
public static void BoundOrganization(RepositoryItemLookUpEdit lue)
{}
//来源:C/S框架网 | www.csframework.com | QQ:23404761
2、在form的load事件中调用DataBinderTools.BoundOrganization()

扫一扫加微信


版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网