L.V.R.PAVAN KUMAR E's blog - Means it is my blog :P. Just for blogging on any thing I like. Track me by 'surpavan' for my online profiles.
The following code could be used to remove a control dynamically at runtime:
For i As Integer = 0 To Me.Controls.Count - 1
If Me.Controls(i).Name = "NameofcontroltobeRemoved" Then
Me.Controls.RemoveAt(i)
End If
Next i
Enjoy it.
No comments:
Post a Comment