Beginner: How to add a table to a tablecell?

J

Jan Eliasen

Hi

I have a .ascx with an .ascx.cs codebehind.

In my .ascx I have the folliwing;
<asp:table id="new_OuterTable">
<asp:TableRow ID="new_outerTableRow">
<asp:TableCell>
<img src="../ImagesForCode/space.gif">
</asp:TableCell>
<asp:TableCell ID="new_OuterTableRowCell2">
<IMG alt="Some text" src="../ImagesForCode/space.gif">
<br>
</asp:TableCell>
</asp:TableRow>
</asp:table>

And here I have another table. If I want this second table to appear
just below the Image in the second tablecell, then what do I do? I
want to do it in code, btw.

Any help?
 
G

Gerald Klein

Create the second table and add it as a child control to the cell you want
it to appear.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top