Say I have the following classes:
public class A
{
public string x;
}
public class B
{
public A a;
}
I then bind my repeater to a list of class B’s. Is there any way using Eval that I can get class A’s x data member?
For example, Eval("A.x"). I know that won’t work, but just curious if there was a convention for doing this.
I’ve looked at this post, but I don’t believe it actually answers my question.
I have not done it using the syntax in the referenced post, but I have done this:
if I have properties.