The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hello,
Can I use a datasource other than a dataset for comboboxes? I have a custom entity object that inherits from CollectionBase that I would like to use.
Thanks!
ADAdministrator Syncfusion Team April 27, 2004 06:07 PM UTC
If both IList and ITypedList are implemented then you should be able to assign that table as datasource to a combobox.
Instead of implementing ITypedList you could also make sure the collection is a strong-typed collection (the indexer needs to return the correct type). That should also work.
Stefan
>Hello,
>
>Can I use a datasource other than a dataset for comboboxes? I have a custom entity object that inherits from CollectionBase that I would like to use.
>
>Thanks!
ADAdministrator Syncfusion Team May 4, 2004 09:50 AM UTC
Could you please post a sample project demonstrating this? I''m having trouble getting it to work on my end.
Thanks again.
ADAdministrator Syncfusion Team May 4, 2004 01:11 PM UTC
At the bottom of this tread, there are code snippets showing how to get a stringly typed ArrayList by implementing ITypeList.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9194
If this is not enough information to get things working for you collection, can you post a sample of your collection class, and maybe we can put it directly into a sample.