How would i access dynamically created windows form control.
I have Labels and TextBox generated dynamically from the database.
I want to create an XML from both controls.
something like
<Sample>
<Labes1.Textl > TextBox1.Text </Labels1.Text>
<Labes2.Textl > TextBox2.Text </Labels2.Text>
<Sample>
I am stuck in building the Loop while i am accessing form controls.
I have Labels and TextBox generated dynamically from the database.
I want to create an XML from both controls.
something like
<Sample>
<Labes1.Textl > TextBox1.Text </Labels1.Text>
<Labes2.Textl > TextBox2.Text </Labels2.Text>
<Sample>
I am stuck in building the Loop while i am accessing form controls.
Comment