|
-
Apr 18th, 2002, 06:31 AM
#1
Thread Starter
Junior Member
Datagrid Compound Primary Key
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|