Multiple column key with datagrid control

S

Sam

Hi all

I have a database table that has multiple column primary key and every thing
looks fine when I load it in the datagrid web control. The problem is that
the datagrid web control can only take one single field to be its
DataKeyField while my data table has multiple(2) column primary. Is there a
way to create a datagrid web control's DataKeyField which can take a
multiple columns.

Thank you

Sam
 

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,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top