you have to create rows/cells dynamically, or check out the DataBoundTable control example by the author of "Developing Microsoft ASP.NET Server Controls and Components"
you have to create rows/cells dynamically, or check out the DataBoundTable control example by the author of "Developing Microsoft ASP.NET Server Controls and Components"
class A
{
int x;
public virtual void PrintFields() {
Console.WriteLine("x = {0}", x);
}
}
class B: A
{
int y;
public override void PrintFields() {
base.PrintFields();
Console.WriteLine("y = {0}", y);
}
}