An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam. Built for students by a student to help them understand the concepts that they are being taught.
when the automatic sort is selected (after clicking the colum title) and you add a new row when it loses the focus it sorts correctly but the combobox format stays in the last row which shows an error .
Private Sub DataGridView_RowEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView.RowEnter If DataGridView.Rows(e.RowIndex).IsNewRow = True Then Dim Cell As DataGridViewComboBoxCell = New DataGridViewComboBoxCell Cell.DataSource = ds.Tables(3) Cell.ValueMember = "Nombre" Cell.DisplayMember = "Nombre" DataGridView(2, e.RowIndex) = Cell DataGridView(2, e.RowIndex).ReadOnly = False End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.