Simple OO Question for .NET

Giganews Newsgroups
Subject: Simple OO Question for .NET
Posted by:  byrd48 (byrd.…@rocketmail.com)
Date: 25 Apr 2006

Hi,
If I want to dynamically build an asp:table in a class file and return
it to the caller as an object ie:

public Table TableGenerator(){

public Table myTable = new Table();
...
...
return myTable;
}

My question is this, how do I call this method and display the
resulting table in the presentation layer.  I'm sure there is more than
one way to accomplish this.

Thanks,
Jon

Replies