Simple OO Question for .NET

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

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.