Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving data
Message
De
11/12/2012 18:22:17
 
 
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01559354
Message ID:
01559364
Vues:
55
This message has been marked as a message which has helped to the initial question of the thread.
I keep things as flat as possible and use POCO objects as much as possible. This simplifies the model binding.

Look at the MVC Music Store sample app to see how to do model binding. http://www.asp.net/mvc/tutorials/mvc-music-store. This is pretty much the way I do it.



>It may have been a default when I created that controller originally or I coded it based on some samples I saw - I am not sure.
>
>Can you please show me a sample of your Edit method - do I need to add using of CardNumbers.Objects to the ClientController ?
>
>BTW, the Client object is a bit complicated object that uses complex types.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform