DataGrid - Windows forms and row access

Discussion in 'ASP .Net Datagrid Control' started by Nick Caramello, Dec 4, 2003.

  1. I am trying to do something that would appear to be pretty straightforward -
    bind a dataset to a datagrid, and then use the selection of a row (double
    click) to spawn a detail window. The issue that I am running into is how to
    get the primary key from either the dataset or the grid (and I am trying to
    access it by name, or index).

    I've tried getting the information from the dataset, but there is no
    relationship between the data in the grid and the data in the dataset after
    the bind (after a sort of the grid), and I cannot seem to get any
    information from the grid itself.

    Thanks in advance for any help
     
    Nick Caramello, Dec 4, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Craig
    Replies:
    2
    Views:
    2,885
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Nov 2, 2004
  2. =?Utf-8?B?U3VyZXNo?=
    Replies:
    1
    Views:
    475
    Saravana
    Nov 22, 2004
  3. Replies:
    0
    Views:
    368
  4. D
    Replies:
    0
    Views:
    230
  5. Eric
    Replies:
    2
    Views:
    595
Loading...

Share This Page