I am trying to pass IP address to my view using ViewData
but it isn't displaying correctly. Below is my coding for label:
@Html.Label(ViewData["CREATED_LOC"].ToString(), new { @class = "form-control", @disabled = "disabled" })
I inspected in my model, the data fetched is in string "10.200.4.7" but in my view it only displays 7. May i know what is the problem?