Monday, April 4, 2011

Retrieve Label from Enum Value

The follow codes is useful due to retrieve the label of TransType field related table InventTrans :

1. SysDictEnum dictEnum = new SysDictEnum( enumnum(InventTransType) );


2. dictEnum.value2Label(InventTrans.TransType)

No comments: