|
-
Apr 20th, 2009, 04:08 AM
#5
Thread Starter
New Member
Re: Updating Labels text within a "for loop" sequentially?
 Originally Posted by su ki
hey Pansophist
you may get reference of label dynamically like this
vb Code:
Dim lblRollno As Label = DirectCast(Me.Controls("roll" +rollNum ), Label )
' then set the text
lblRollno.Text = randomNum.ToString()
Thank you very much. Now I can start debugging other problems! Woohoo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|