I generated a typed list and I am binding it to asp.net datagrid.
In Item_DataBound event I am trying to convert e.item.dataitem into typelists row like this but it does not work since the dataitem is of DataRowView type.
Dim alertRow As TypedListClasses.PublishedUserAlertsRow = DirectCast(e.Item.DataItem, TypedListClasses.PublishedUserAlertsRow)
I tought that the type of the item would be as above. What is then this generated row used for?