Best Practice + Adding Items
Posted on 2007-07-24
I have a control which accepts objects of type ValueListItem, is the following the best way of adding multiple items. Or should I stick with a single vli as just set it to a new one each time
Dim vli1 As New Infragistics.Win.ValueListItem
vli1.DisplayText = "Direct Database Connection"
Dim vli2 As New Infragistics.Win.ValueListItem
vli2.DisplayText = "Connect via Web Service"