<pre lang="c#">
Form.Controls
.GetType().FullName == "System.Web.UI.TextBox"
foreach (Control ctrl in this.Controls) { if (ctrl.GetType().Equals(typeof(TextBox))) { //You can cast ctrl to TextBox and then extract the data that you need from it } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)