user225269 user225269 - 6 months ago 37
Vb.net Question

Auto increment textbox in VB.NET

How do I get to increment a textbox content after clicking on a button?

Answer

Place this in the button click event

Dim int As Integer
Integer.TryParse(TextBox1.Text, int)
TextBox1.Text = (int + 1)
Comments