hi all, i'm new to C#. want to create a user control which includes a table with 6 columns and one row. on the aspx page in which it wil b seen, i want a button , clicking on which the table in user control wil be visible. i am using vs 2005. i hv created a file called tableEntry.ascx and created a table there with 6 columns, by using <tablerow> and <tablecell>. in the aspx page in which it wil be seen, i hv places a placeholder and a button. i hv also added the <register src ,tagprefix , tagname> in that aspx page. in the .cs page of the .aspx , in the btnclick definition, i hv added phTableEntry.Controls.Add(new TableRow());
this does not give any error, but no table is seen when i click the button.what else shud i add and where to display the table by clicking the button?please help. and pleeaaasee be generous enough to explain the code. as i said, i m new to this.thanx a lot.