1

Hey, following my struggles with the MVC DropDownList posted here, it seems that my DropDownList always returns 0 when I submit the form. I still have the same code as the other thread.

alt text

Is it because the Status and Type Tables are not linked together in the code? I really don't know where to start to look for the problem.

Thanks.

3
  • 4
    Is the ID of your dropdownlist StatusID now? Commented Dec 24, 2009 at 18:15
  • @Terje might want to put this in an answer that you can accept so that everyone can see it. Commented Dec 28, 2009 at 2:49
  • @AlexDemers - you might want to add an answer and accept it so that this doesn't continue to show up in the 'unanswered' list. Commented Jan 3, 2010 at 4:43

1 Answer 1

3

This has been answered by Terje in the comment of my original post. The name of the fields needs to match those of the table.

Sign up to request clarification or add additional context in comments.

1 Comment

I wish it was easier to see when someone answers your comments :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.