user225269 user225269 - 2 years ago 203 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)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download