legd1991 Posted November 18, 2009 at 11:00 PM Report Share #296831 Posted November 18, 2009 at 11:00 PM boas pessoal Como faço para ir buscar o ultimo valor inserido num determinado campo e importa-lo para um variavel no Vb .NET... cupms legd1991 Link to comment Share on other sites More sharing options...
Chamuanza Posted November 21, 2009 at 08:04 AM Report Share #297074 Posted November 21, 2009 at 08:04 AM Penso que é isto que queres 'Salta para a ultima linha da grid Me.Table1BindingNavigator.BindingSource.MoveLast() Dim A As Integer = Me.Table1DataGridView.Item(coluna que pretendes, Table1DataGridView.CurrentRow.Index()).Value Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now