Dynamically populate table with custom web control

Winston

Junior Contributor
Joined
Jan 25, 2003
Messages
266
Location
Sydney, Australia
I've been trying to get this to work, but it doesn't populate or it doesn't show up in the table, what am i doing wrong?

Code:
this.Table1.Rows[0].Cells[0].Controls.Add(new testControl());
 
I don't know if you can dynamically add user controls. I've tried before, and wasn't able to get it to work.
 
Back
Top