开发者

Unable to bind ID Property to the View,due to conflict with ID Property of System.Web.UI.Page in asp.net mvc

开发者 https://www.devze.com 2022-12-08 09:47 出处:网络
While debugging into view i did a quick watch and i found that for \"ID\" its showing a GUIDdue to that i had to change the name of the property in my model as i had property by the name ID, i had pro

While debugging into view i did a quick watch and i found that for "ID" its showing a GUID due to that i had to change the name of the property in my model as i had property by the name ID, i had problems when binding the value from the session to the textbox.

Is there any other way besides changing t开发者_运维知识库he name of the property?

0

精彩评论

暂无评论...
验证码 换一张
取 消