am using C#, VS-2005
I have generated Two Seperate Control at runtime in Flowlayoutpanel1 as below:
The First Control is....
TextBox tb=new TetxBox();
tb.Name="tbox"+i.tostring();
this.FlowLayoutPanel1.Controls.Add(tb);
Another Control is.......
TextBox bb= new TextBox();
bb.Name="tbbox"+i.tostring();
this.FlowLayoutPanel1.Controls.Add(bb);
now both control available at FLP1
if i am reference them or collect them with foreach loop then both control are references/collected.
my question is if I have to collect or reference only one control out of two then how to make coding on it.
suppose I have to put "tbox" on if condition then how to do. but keep in mind that "tbbox" should not effected.