Expand|Select|Wrap|Line Numbers
- 1st TextBox
- TextBox tb=new TextBox();
- tb.Location=tbpoint; // declared in Class Body
- tb.Name="tb"+i.tostring();
- tbpoint.Y+=70;
- this.FlowLayoutPanel1.Controls.Add(tb);
- i++;
- 2nd TextBox
- TextBox bb=new TextBox();
- bb.Location=tbbpoint; // declared in Class Body
- bb.Name="bb"+i.tostring();
- tbbpoint.Y+=70;
- this.FlowLayoutPanel1.Controls.Add(bb);
- i++;
Suppose user created five textboxes each. and enter data into three textboxes each. and other are empty so how to find which textboxes are empty.
Note: above are runtime textboxes which may be more that five or less than five.
Kindly provide some example coding.
I am Practicing in C#,VS-2005