Home > Net >  The.net framework of MVC add the create view templates, always less a column
The.net framework of MVC add the create view templates, always less a column

Time:11-13

There are two maps or method (don't know much about)
[Required, StringLength (10, MinimumLength=3)]
Public string ID {get; The set; }
"Required, MinLength (4)]
Public string PassWord {get; The set; }

Then add in the controller is a method of the create view shows only the PassWord column, the ID column is not displayed
  • Related