Question : cell span in code behind

How do i make cell span of a table in code behind..I am using asp.ent 3.5

I am creating a table dynamically like

for i = 0 to n
tr=new tablerow
tc=ne tablecell
tc.text = "Hello"
tr.cells.add(tc)
table1.rows.add
next

I want some cells to be spanned.

anthony



Code Snippet:
1:
How

Answer : cell span in code behind

you can use

tc.ColumnSpan

or

tc.RowSpan

depending on which way you want to span it.
Random Solutions  
 
programming4us programming4us