Hi all
i am using vs2005 C# window application
i am trying to add the controls dynamically inside the
"tablelayoutpanel", i need to add row by row and each row i will have
to have 10 columns and each column i need to add one control
If i try to do this the control coming one under one and not
horizontaly, what is missing here,,,,
tlp = new TableLayoutPanel();
tlp.Location = new Point(1, 24);
this.Controls.Add(tlp);
tlp.Controls.Add(txt_Code1, controlIndex,0);
tlp.Controls.Add(txt_Code2, controlIndex,1);
the above is bringing the second control down to the first control and
not beside to first control
i even tried the tlp.ColumnCount=2;
still same problem
help me out to come out of this problem
thanks a lot