Implementing model binder to bind a certain data format?

Here is a model binder that I did for you and does what you want. It by no means complete (no validation, no error checking etc), but it can kick start you. One thing I particularly dislike is that the ModelBinder directly accesses the form collection instead of using the ValueProvider of the context, but the latter doesn't let you get all bindable values.

You should just be able to name your fields key0, value0 (1,2,3 etc) and it should bind automatically since these are just strings. If you need to customize this for some reason - still name your fields key0 value0 (then 1,2,3 etc) and do exactly as specified here: ASP.NET MVC - Custom model binder able to process arrays.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions