Hi Ulrik,
Ulrik Mueller (06/18/2009)
1. I'm using ComboBox with enumerated lists. How do I override the enumeration text in the ComboBox dropdownlist ?
For this you can use the < EnumDispayValue() > from the MicroFour.StrataFrame.Tools, here is sample in VB:
Imports MicroFour.StrataFrame.Tools
Public Enum eMailSendFormat As Integer
< EnumDisplayValue("Acrobat (PDF)") > _
Acrobat_PDF = 1
< EnumDisplayValue("Comma Separated Values (Windows-CSV)") > _
CSV = 2
End Enum
2. I'm trying to work with a BO entirely from code (C#) - creation, calling a method on the BO and finally disposing. I am getting blind onto the correct way of doing this. HELP......
I am not sure I totaly understand your request here, but here is sample in VB of how to use a SF BO:
Using bo As bizItems = New bizItems
bo.FillByPrimaryKey(pPK_Items)
If bo.Count = 1 Then
Return bo.ItemName
Else
Return String.Empty
End If
End Using