Hello all,

I posted this in .NET but then found this ASP.NET forum. Any help appreciated.

-----


Hello all,

I am building a simple app using the asp:datagrid control.

The problem I have is that my source datatable contains a four column primary key. The dataset is strongly typed and my schema reflects the compound key's existence.

Any idea how i set the datagrid's datakeyfield to represent this compound key. The app works fine except for the update (in other words it dont work fine). I am sure this is the problem.

As far as I can gather you can only set the datakeyfield to a single column value.

Thanks in advance.

Simon Rigby
London, UK