Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. CurrentCellChanged event !!!!!!!!!!!!!!

CurrentCellChanged event !!!!!!!!!!!!!!

Scheduled Pinned Locked Moved C#
questionhelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    innocent73
    wrote on last edited by
    #1

    Hello friends, I would like use CurrentCellChanged event for navigating the next cell of a datagrid?Can anyone help? Code like this: private void dgRegion_CurrentCellChanged(object sender, System.EventArgs e) { dgRegion.Select(dgRegion.CurrentCell.RowNumber); //how can I navigate the next cell...Suppose that I am at the last column //then how can I pass the next line and first column. }

    M H 2 Replies Last reply
    0
    • I innocent73

      Hello friends, I would like use CurrentCellChanged event for navigating the next cell of a datagrid?Can anyone help? Code like this: private void dgRegion_CurrentCellChanged(object sender, System.EventArgs e) { dgRegion.Select(dgRegion.CurrentCell.RowNumber); //how can I navigate the next cell...Suppose that I am at the last column //then how can I pass the next line and first column. }

      M Offline
      M Offline
      Mr Cooper
      wrote on last edited by
      #2

      first u have to change the selected row u can do this by accessing the SelectedRowIndex. Mr.Cooper

      I 1 Reply Last reply
      0
      • M Mr Cooper

        first u have to change the selected row u can do this by accessing the SelectedRowIndex. Mr.Cooper

        I Offline
        I Offline
        innocent73
        wrote on last edited by
        #3

        Please friend...I HAVE PASSED THREE HOURS HERE...I TRIED EVERYTHING...PLEASE HELP..HOW?

        1 Reply Last reply
        0
        • I innocent73

          Hello friends, I would like use CurrentCellChanged event for navigating the next cell of a datagrid?Can anyone help? Code like this: private void dgRegion_CurrentCellChanged(object sender, System.EventArgs e) { dgRegion.Select(dgRegion.CurrentCell.RowNumber); //how can I navigate the next cell...Suppose that I am at the last column //then how can I pass the next line and first column. }

          H Offline
          H Offline
          Huseyin Altindag
          wrote on last edited by
          #4

          Hi have a look at my project here www.codeproject.com/cs/database/DatabaseAcessWithAdoNet1.asp I think and hope it will help you Huseyin Altindag

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups