|
例如:
class A{
private int property1;
public int Property1{
get{ return property1; }
}
private B property2;
public B Property2{
get{ return property2; }
}
}
class B{
private int property1;
public int Property1{
get{ return property1; }
}
}
aspx页中:
List<A> list = ...
datalist.DataSource = list
问题:
怎么才能邦定到A.B.Property1 |
|