Results 1 to 5 of 5

Thread: [2005] Datagridview currentRow Index Of Row in focus

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    [2005] Datagridview currentRow Index Of Row in focus

    i want to set the index of the row so that i scroll to that Record.
    A Datagrid uses CurrentRowIndex property like this
    DataGrid1.CurrentRowIndex = i
    but what could be the replacement in .NET 2.0.
    Any Idea Will Be Appreciated.
    Last edited by maps; Aug 21st, 2006 at 09:45 AM.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Re: [2005] Datagridview currentRow Index Of Row in focus

    ****bump

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Datagridview currentRow Index Of Row in focus

    CurrentRowIndex still exists in the 2.0 framework.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Re: [2005] Datagridview currentRow Index Of Row in focus

    I havent seen it Mendhak.
    I got it work.
    Me.dgvDBFData(0, Me.dgvDBFData.CurrentRow.Index).Value = i

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Re: [2005] Datagridview currentRow Index Of Row in focus

    Although it gets my row index value, it sets the column of that particular row to the index value....this is not what i need.
    Any other idea?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width