Admin_BillType abt = Admin_BillTypeBLL.GetEntity(AFBPConvertor.IntParse(BillType.SelectedItem.Value)); object[] obj = new object[1]; obj[0] = new object[]{ "Admin_BillType","Code",abt!=null?abt.Code:"" }; BillCode.Value = Ulti.EncodeString("Purchasing_Contract", "BillCode", obj);
转载于:https://www.cnblogs.com/AccERP/archive/2012/05/10/2493744.html