This is my repeater control in my .aspx page:
< 相关标签:
Try with below Modified code
Dim c As HyperLink = DirectCast(e.Row.FindControl("hypItem"), HyperLink)
It should be like this DirectCast(e.Item.DataItem, YourClass).YourProperty
DirectCast(e.Item.DataItem, YourClass).YourProperty