asp.net mvc strongly typed helpers - should your render binding object be the same as your posting object?

前端 未结 7 1368
刺人心
刺人心 2021-01-02 22:52

i see that asp.net mvc 2 has strongly typed helped and looking initially at the way it works i think maybe i am doing something wrong in asp.net mvc 1 in terms of data bindi

7条回答
  •  一整个雨季
    2021-01-02 23:22

    You can specify which property you are refering to in a strongly typed helper, look for overload with 3 parameters.

    Nothing wrong with your method. Strongly typed views are there to help you develop better, so no typpo can get in your way.

提交回复
热议问题