Vote count:
0
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Label1.Text = Val(Label1.Text) + 1
End Sub
When the button is pressed, the value on the label increases by 1. How do I make it put a text after the value? Example: The value is "0" and when the button is pressed, the label changes to "1 post", press again "2 posts", again "3 posts"...
asked 40 secs ago
Increase number with button and add text vb2010
Aucun commentaire:
Enregistrer un commentaire