Is it at all possible within a ListView ItemDataBound event handler to gain access to the full DataRow for that event? I need to do a lot of processing for the entire row on binding, but using data item values in the datarow that I am not actually using in the display itself.
Is it at all possible within a ListView ItemDataBound event handler to gain access
Share
Try this
DataRowView dr = (DataRowView)DataBinder.GetDataItem(e.Item);using
dr.Item.ItemArray you can access the entire row.