VB.Net - How To Move DataGridView Selected Row UP and DOWN In Vbnet [ with source code ]

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 4

  • @aidenfau3209
    @aidenfau3209 2 года назад

    works to move seleccion , but why the select row is not moving?

  • @mohanraj5702
    @mohanraj5702 7 лет назад

    Nice tutorial !, but if it is image in last column then how can we move up or down? can u post a video for this?

  • @ginobev777
    @ginobev777 6 лет назад

    Good, could you help me ?, my problem in visual vasic, when I have selected a row of the datagridview and use the scroll, the selected row is lost sight of, is still selected but is lost sight of, what I would like is that when the row If the selected one reaches the high limits of the datagridview, automatically pass to the row below or to the top according to the direction that the scroll takes, so that the selected row is always visible, is it understood? in short words that the sectioned row does not go away from the screen, if it is necessary that when the row goes out of the limits of the size of the grid, the following rows are selected, it would be the same as when we use the arrows on the keyboard and we arrive to the limits of the grid.

  • @lozD83
    @lozD83 6 лет назад

    Sadly, this doesn't work for Databound DataGridView control. As soon as you remove the row, the data ceases to persist. If you inspect the row at this point, you'll see that all of your data properties have become NULL.