1
That way I did I couldn’t, from Object Reference not set to an instance of an Object!
Private Sub btnDeletarPerfil_Click(sender As Object, e As EventArgs) Handles btnDeletarPerfil.Click
Roles.DeleteRole(lbPerfis.SelectedItem.Value.ToString())
ou dessa maneira >>
Roles.DeleteRole(lbPerfis.SelectedItem.Text.ToString())
End Sub
A very silly doubt, but you are selected something in your lbPerfis?
– Maicon Carraro
Yes, I’m the field has validation!
– WellDotCom