Only one column allowed for DataKey collection

K

Keith-Earl

Maybe I am missing something, but I rarely use a simple ID field as my
primary key when a "natural" PK exists. For example, I have a table that
uses ProjectID and TaskID as it's PK. This has worked great for over twenty
years, but now a datagrid's DataKey collection only seems to accept one
value (one column) per row.


Is this by design or am I missing something? Must I go back and re-engineer
my entire database to support a lone ID column in order to use Edit
Templates with the DataGrid?

Thanks,

Keith
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,078
Latest member
MakersCBDBlood

Latest Threads

Top