Databinding and a Typed Collection

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: solex (solex_at_nowhere.com)
Date: 02/04/04


Date: Wed, 4 Feb 2004 13:12:03 -0500

Hello All,

I have a type collection I created that inherits from
System.Collection.CollectionBase. I use this collection as a datasource for
a combo box. I notice that when I add items to this collection that the
combo box is not updated.

I would prefer it is automatically updated, is there a property I am missing
or do I need to peform this operation myself?

Thanks,
Dan



Relevant Pages

  • Re: Problem with a DropDownList in a WebControl
    ... > You have a control that inherits from webcontrols and then you want to ... > expose datasource properties of a dropdownlist to whom you have merely set ... >> the thread never reach this point, the DataSource propriety will never ... >> public string DataTextField ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Databinding problem with Datagrid and Inheriting Class
    ... doesn't display properties that it inherits from another class. ... with a datagrid by datasource = collection of item.. ...
    (microsoft.public.dotnet.framework.compactframework)