Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
590
How to Set Datakeyfields with composite key
posted

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