I have following code,
My.Settings.h301 = TextBox301.Text
My.Settings.h302 = TextBox302.Text
My.Settings.h303 = TextBox303.Text
My.Settings.h304 = TextBox304.Text
My.Settings.h305 = TextBox305.Text
I want to convert above code like following;
For i = 301 To 305 Step 1
My.Settings.h & i = TextBox & i.Text
Next
So, please provide me correct for next loop code. Thank you.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…