user225269 user225269 - 1 year ago 122
Vb.net Question

Auto increment textbox in VB.NET

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

Answer Source

Place this in the button click event

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