Hello,
I see a couple of server tags that don't have runat="server" attribute declared... could this be a problem?
Also, instead of writing the content to the screen, in ASP.NET you need to create the object and add it to a collection, similar to:
Dim objControl as new Microsoft.We.Ui.WebControls.Tab
objControl.Text = myTable.TableName
ts1.Controls.Add(objControl)
also, you may want to put this code around:
if ( !Page.IsPostback ) {
}
So that the addition will only happen once.
Hope this helps,
Brian
|