Business objects with no properties and data binding

Alex Ivanoff <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <LISTSERV%[email protected]>
Is it possible to data bind a web control (DropDownList) to a list of
business objects which do not have properties but accessor methods instead:

public class State
{
  private String _abbr;
  private String _name;

  public String GetAbbr()
  {
    return this._abbr;
  }

  public String GetName()
  {
    return this._name;
  }
}

Thank you,
Alex

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.