CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: DBGrid

  1. #1
    Join Date
    Oct 2000
    Posts
    58

    DBGrid

    Could you help me to find out what event I can use to get value of the row of a DBgrid control on click event. Thanks

  2. #2
    Join Date
    Jan 2002
    Posts
    17
    add 'currentcellchanged' event to your datagrid.

    then:

    dg.currentcell.rownumber will give you the row

  3. #3
    Join Date
    Jan 2002
    Posts
    17
    datagrid1.currentRowIndex will also give you the row.

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

Featured