J
Joe
I want to bind to the property Caption but can't. I get the exception:
"Cannot bind to property or column Caption on DataSource.
Parameter name: dataMember"
public class Test : CollectionBase
{
private string caption;
public string Caption
{
get
{
return caption;
}
set
{
caption = value;
}
}
}
Is there anyway to do this when a class derives from CollectionBase?
Thanks,
Joe
"Cannot bind to property or column Caption on DataSource.
Parameter name: dataMember"
public class Test : CollectionBase
{
private string caption;
public string Caption
{
get
{
return caption;
}
set
{
caption = value;
}
}
}
Is there anyway to do this when a class derives from CollectionBase?
Thanks,
Joe