Get specific item value from the Repeater.Item.DataItem

  Retrieve specific value from the Repeater.Item.DataItem in your code. Ok so I searched around for how to get specific value from a Repeater.Item.DataItem and found a common answer: [code lang=”csharp”] string messageSubject = ((DataRowView)e.Item.DataItem).Row["messageSubject"].ToString(); [/code] In an effort to cast the item to an object the following error kept popping up was this would […]

Read More