问题
With the ASP.NET Repeater control, I am used to being able to access my data item values in the ItemDataBound
Event Handler by doing:
e.item.dataitem("column_name")
However, it seems with the ListView control this is not possible. How can I access the data item values?
回答1:
Get data being bound to ListView on DataBound event
来源:https://stackoverflow.com/questions/3195557/itemdatabound-e-item-dataitemkey-with-listview-control