|
-
Apr 29th, 2009, 12:51 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Invalid Operation Exception
Does anyone know why the following exception would occur:
"Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return any key column information."
All i am doing is deleting a row from my dataset and updating my database.
-
Apr 29th, 2009, 01:04 PM
#2
Re: Invalid Operation Exception
Please post the code generating this error.
-
Apr 29th, 2009, 01:26 PM
#3
Thread Starter
Addicted Member
Re: Invalid Operation Exception
Problem now solved it was because i didnt have a primary key on my table it was throwing this exeption for some reason. Cheers anyways always appreciate the help
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
|