In MVC project we need to bind multiple values from the controller action to the view so for doing that predefined templates can be used.
But in any case you want to use your own code then you need to understand to bind the multiple values that can be a single row or multiple row.
If the values are of single row type then we can bind it directly and no loop is required for that but if these values are of multiple row type then there is need of performing the looping for binding all values into the view controls.
0 Comment(s)