S
shapper
Hello,
I am using ASP.NET MVC and I am running into a problem.
I have a List Of MyClass which is a property of my controller
ViewData.
In the View I have a form where I need to display the List in the CSV
format.
When I submit the form I need to convert that CSV data to a list
before I save it to the database using Linq.
The View also displays the same data in an ordered list. And there are
other view which do the same.
How should I implement this and where to make the conversions? In the
View? In the Controller?
Thanks,
Miguel
I am using ASP.NET MVC and I am running into a problem.
I have a List Of MyClass which is a property of my controller
ViewData.
In the View I have a form where I need to display the List in the CSV
format.
When I submit the form I need to convert that CSV data to a list
before I save it to the database using Linq.
The View also displays the same data in an ordered list. And there are
other view which do the same.
How should I implement this and where to make the conversions? In the
View? In the Controller?
Thanks,
Miguel