|
-
Jun 13th, 2003, 10:48 AM
#1
Thread Starter
Addicted Member
datagrid edit
Hi,
When trying to edit rows in the datagrid does the underlying datasource need to have a single primary key - i.e. can editing be set up on a source which has composite key?
If it can - how?
Cheers.
-
Jun 13th, 2003, 11:41 AM
#2
Frenzied Member
Its easier if you have a primary key. If not, you'll have to build a sql statement to check for all the fields.
-
Jun 16th, 2003, 08:55 AM
#3
Thread Starter
Addicted Member
Thanks,
the reason I'm asking is that my app doesn't respond to edit button - not firing Datagrid_EditCommand at all.
The datagrid is based on a dataview which has filtered on the foreign key and currently there is no unique key for this table.
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
|