Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Gridview multiple datakeys issue

Reply
Thread Tools

Gridview multiple datakeys issue

 
 
VB Programmer
Guest
Posts: n/a
 
      10-15-2007
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gridview DataKeys property not set when PageIndexChanged fires =?Utf-8?B?UmljayBEcm9za2U=?= ASP .Net 1 12-13-2006 06:48 AM
GridView DataKeys problem =?Utf-8?B?R3JlZw==?= ASP .Net 6 12-13-2006 05:47 AM
Solution for posterity: GridView, Datakeys, and "Item has already been added. Key in dictionary: 'CategoryID' Key being added: 'CategoryID'" ASP .Net 2 11-02-2006 04:48 AM
gridview datakeys empty when sqldatasource is used Narshe ASP .Net 2 06-29-2006 01:37 AM
Gridview asp.net 2.0 datakeys not loading =?Utf-8?B?TGluZ28=?= ASP .Net 0 10-31-2005 06:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57