can anyone let me know advantages & disadvantages of using namevalue list.
thnaks
NameValueListBase is just a specialized ReadOnlyListBase object that comes with its own generic child object pre-built for you. It is specifically designed to help you easily populate listbox and combobox controls, and to implement code in your business object to validate key/value data in your validation rules.
So if you have name/value or key/value data in your use case, then NVLB is a good tool. If you don't then it isn't useful.
If you have more complex data (like key/value/value/value/etc.) then you might use NVLB to get ideas on how to implement a more complex ReadOnlyListBase/ReadOnlyBase object pair that reflects your use case better.
what about the readonlybase...compared to namevaule list.
Copyright (c) Marimer LLC