 <pre><code>protected void MyListView_DataBind(object sender, ListViewItemEventArgs e){ if(e.Item.ItemType == ListViewItemType.DataItem){ MyObject p = (MyObject)((ListViewDataItem)e.Item).DataItem; } } </code></pre> <p>You'll want to do the type check so that you don't try and do a cast when you're working on say, the header item.</p>