Tag Info

New answers tagged

1

You can use the control collection using below code foreach (Control c in Page.Controls) { foreach (Control childc in c.Controls) { if (childc is TextBox) { //Use childc.Text property } else if(childc is Label) { ... } //... } }



Top 50 recent answers are included