ASP.NET MVC EF - What is the better way to format the data before display
to the View
For example, I would like to change my ID to a custom code (12 -> A00012).
Where should my function put in this conversion? In my previous coding, I
did put in the View form, however, I think I should put in Model. How is
the implementation in MVC ASP.NET?
Thanks. Any example will be appreciated!!!
No comments:
Post a Comment