DataKeyField Property in Datagrid

Discussion in 'ASP .Net Web Controls' started by Bruce LeMond, Oct 28, 2003.

  1. Bruce LeMond

    Bruce LeMond Guest

    It looks like the DataKeyField property in the datagrid
    lets me to just specify one field only. But my primary
    key consist of 3 fields. Is there a way to get the
    DataKeyField to include all 3 fields making up the primary
    key?

    Thanks in advance.
     
    Bruce LeMond, Oct 28, 2003
    #1
    1. Advertisements

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. sramruttun
    Replies:
    0
    Views:
    420
    sramruttun
    Jul 10, 2003
  2. Homer J. Simpson
    Replies:
    2
    Views:
    1,258
    Suresh
    Mar 5, 2004
  3. Adam Knight

    DataGrid - DataKeyField!!

    Adam Knight, Aug 7, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    4,509
    Adam Knight
    Aug 7, 2005
  4. Sean

    how to get datagrid item index from DataKeyField value?

    Sean, Aug 6, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    1,488
    Arthur
    Aug 7, 2003
  5. A. Atienza

    DataGrid's DataKeyField Value (C#)

    A. Atienza, Dec 7, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    483
    Michael Tkachev
    Dec 7, 2004
  6. Stephen Woolhead

    Datagrid DataKeyField and Webservice Proxy Objects

    Stephen Woolhead, Dec 16, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    337
    Stephen Woolhead
    Dec 20, 2004
  7. Kylin

    How to get the DataKeyField in the DataGrid ?

    Kylin, May 31, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    600
    Brock Allen
    May 31, 2005
  8. Bruce LeMond

    DataKeyField Property in Datagrid

    Bruce LeMond, Nov 17, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    296
    Bruce LeMond
    Nov 17, 2003
Loading...