Names

How to get the Name Of Multiple TextBoxes Using For Each Loop

Submitted by janobe on
In this tutorial I will teach you how to get the name of a specific TextBoxes by using For Each Loop in VB.Net. This method will determine what are the names of your TextBoxes that you drag it on the Form. You will be able to find out the specific name of the TextBox because it will be seen in each TextBoxes. So let’s begin: Open Visual Studio and create a new Project. Drag all the TextBoxes and a Button.