Hi,
I'm looking to get an example of how to set the datakey field in the webdatagrid to a composite primary key. e.g. I have an 'Order number' (numeric) and 'Order type' (string) which together provide for uniqueness in a row. An example in C# would be greatly appreciated.
Thanks
Ankur
Let me know if you need futher assistance with this issue.
Hello asanghi,
You could specify a composite primary key like this:
DataKeyFields=”column1,column2”
You could have a look at this sample as well :
http://forums.infragistics.com/forums/p/41108/239121.aspx#
Hope it helps.