For example I have these codes in HTML:
My question is, in code behind, how can I access those text boxes via vb.net?
Is there any code that is somehow related to the code below?:
Thank you for your help.
HTML:
<asp:TextBox ID="textBox1" runat="server" class="MyClass1"></asp:TextBox>
<asp:TextBox ID="textBox2" runat="server" class="MyClass1"></asp:TextBox>
My question is, in code behind, how can I access those text boxes via vb.net?
Is there any code that is somehow related to the code below?:
VB.NET:
For Each ID in MyClass1
' Here in iteration, ID will be textBox1, or textBox2, etc..
Next
Thank you for your help.