I want to remove the new_label i make from this code
Dim x, y As Integer
x = 600
7 = 300
For Each r As DataGridViewRow In DataGridView1.Rows
If r.IsNewRow = True Then
Return
End IF
Dim new_Label As New Label()
With r
new_label.text = .Cell("name").Value.ToString
new_label.Location = New point (x, y)
Me.Controls.Add(new_label)
y +=new_label.Hight + 10
End With
NewHow i can remove the new_label .. When i click on Button1 .. When the program running
Thank you
Shady ,,