Results 1 to 16 of 16

Thread: Continuing --- How to DoubleClick Datagrid and get cell data

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Hendersonville , NC
    Posts
    260

    Continuing --- How to DoubleClick Datagrid and get cell data

    I understand that doubleclick is not always relaible.. I am just trying to get cell data from a datagrid when I click or double click on a line. I can get the row and cell number ... but how do I get the data reporsented on that row?

    With this...
    Private Sub DataGrid1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.DoubleClick
    Dim dgds As Object = DataGrid1.DataSource.ToString
    Dim currentrow As Integer
    currentrow = Me.DataGrid1.CurrentRowIndex
    Me.DataGrid1.Select(currentrow)
    End Sub
    I return the proper row.. Now ... How do I get the cell data ...
    I need the information in cell 1 as a key to my record retreival.
    Last edited by gollnick; Apr 8th, 2003 at 05:46 PM.
    William E Gollnick

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