The forum will be unavailable for maintenance at some point from Friday, April 13 at 19:00 EDT until Sunday, April 15 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.

I am getting this error when I try to delete rows from my database. I realize why I am getting this error from this link:

How can I get around this? I am working in C#.

asked 10 Jan, 14:07

solomond's gravatar image

accept rate: 100%

Alright sorry I think I figured out the problem. When creating the table, I was setting it to "on delete restrict." I changed it to "on delete cascade" and it now works.

permanent link

answered 10 Jan, 15:26

solomond's gravatar image

accept rate: 100%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Jan, 14:07

question was seen: 181 times

last updated: 10 Jan, 15:26