Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Collections

Status
Not open for further replies.

moongirl129

Programmer
Sep 5, 2002
38
GB
I've been using a bindinglist to databind a list of objects to a datagridview in the project I am working on. The bindinglist type is 'Issue' where 'Issue' is a custom object. However, there has been a small change in the spec and I think I am now going to have to use a custom collection as the bindinglist doesn't quite provide what I need. Can anyone tell me a good article or tutorial on custom collections? I have seen a little info about building a custom collection class and inheriting CollectionBase and iBindingList but I'm not sure if this is the only option or the best way. Any suggestions?
 
If you're using C# 2.0, you should be able to use List<Issue> instead of having to go through the whole ineriting from CollectionBase trouble. Of course I have no idea if this too would be affected by this change in your spec!

~LFCfan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top