Gridview multiple datakeys issue

Discussion in 'ASP .Net' started by VB Programmer, Oct 15, 2007.

  1. From the research I've done, when you are using a gridview and want to
    programatically refer to a column that is hidden you have to add it to the
    datakey of the gridview.

    I've done that for 2 of the columns. So, my datakey is equal to
    "MyId,MyId2,MyCol1". The problem is that when I add the multiple datakeys
    my EDIT does NOT work for the MyCol1 anymore. Any ideas why?

    Thanks.
     
    VB Programmer, Oct 15, 2007
    #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. =?Utf-8?B?TGluZ28=?=

    Gridview asp.net 2.0 datakeys not loading

    =?Utf-8?B?TGluZ28=?=, Oct 31, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    608
    =?Utf-8?B?TGluZ28=?=
    Oct 31, 2005
  2. Narshe
    Replies:
    2
    Views:
    1,062
    Narshe
    Jun 29, 2006
  3. Guest
    Replies:
    2
    Views:
    5,597
    wwwtar
    Nov 2, 2006
  4. =?Utf-8?B?R3JlZw==?=

    GridView DataKeys problem

    =?Utf-8?B?R3JlZw==?=, Oct 30, 2006, in forum: ASP .Net
    Replies:
    6
    Views:
    717
    Davior
    Dec 13, 2006
  5. Lee C.

    DataKeys(Index): Scope issue

    Lee C., Feb 27, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    111
    Lee Cichanowicz
    Feb 27, 2004
Loading...

Share This Page