Jump to content

Recommended Posts

Posted

Eu queria saber quais eram as funçoes que o bindingNavigator tem. do tipo, criar uma nova linha na tabela, apgar uma linha..

Basicamente era ao clicar num botao que eu definice fize.se o mesmo que o bindingNavigator

dbWizardED9.jpg

Posted

Já.

e tmb já consegui resolver de uma forma facil.. do genero:

Private Sub btn_ultimo_Click(ByVal sender As System.Object, _

ByVal e As System.EventArgs) Handles btn_ultimo.Click

Me.CidadeBindingSource.MoveLast()

End Sub

Private Sub btn_novo_Click(ByVal sender As System.Object, _

ByVal e As System.EventArgs) Handles btn_novo.Click

Me.CodigoTextBox.Focus()

Me.CidadeBindingSource.AddNew()

End Sub

Private Sub btn_excluir_Click(ByVal sender As System.Object, _

ByVal e As System.EventArgs) Handles btn_excluir.Click

Me.CidadeBindingSource.RemoveCurrent()

Me.CidadeTableAdapter.Update(Me.Bancodedados1DataSet.cidade)

End Sub

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.