Last post Sep 30, 2009 01:11 PM by gerrylowry
Sep 30, 2009 01:50 AM|technifox|LINK
I am having difficulty displaying a foreign key by a more user friendly value that the id in my list page. Is there any sugguestions people can make to point me in the right direction?
I can provide a senario or code snippits if required.
"ASP.NET MVC 1.0"
"ASP.NET MVC v1.0"
Sep 30, 2009 05:47 AM|paul.vencill|LINK
What's your model look like? Generally, this kind of thing is solved by fetching the possible values from the other table (ideally, let your ORM tool do that for you...) and then show them as options, where the ID is the value of each option.
Sep 30, 2009 01:11 PM|gerrylowry|LINK
I can provide a senario or code snippits if required
Daniel, it is usually a good idea to provide both the scenario and your code snippets immediately. It makes it easier for Paul and others to help you. The more time that that spend asking your question, the better the quality of answers you are likely
Paul is leading you in the right direction.
Please see How to ask a question ==