Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
There has to be a better way to do this...
@foreach (var item in @Model.Children.Take(1)) { dynamic thing = item.attributeLevels; foreach (var thang in thing) { var thangID = @thang.id; var theID = HttpContext.Current.Request.QueryString["id"]; if(@thangID == @theID){ @thang.levelTitle.InnerText.ToString() } } }
how would i make this 'smarter'?
i got an error trying to edit above... but basically, i am trying to get at a specific item in the embedded content object of attributeLevels
anyone got any thoughts?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
get a specific item in a dynamic variable
There has to be a better way to do this...
how would i make this 'smarter'?
i got an error trying to edit above... but basically, i am trying to get at a specific item in the embedded content object of attributeLevels
anyone got any thoughts?
is working on a reply...