Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

i want to display 10 nos when clicking the button but it not happen

$
0
0
[code]

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim m As Integer
While (m <= 10)
ListBox1.Items.Add(m.ToString)
m = ++1
End While
End Sub
[code]

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>