This exception is obvious. You are trying to access a member of an collection which does not exist. For e.g. your ListView is not having any item or it is null but still if you are trying to access the ListItem. This will throw an error. Try stepping through your code and check the value of
lvsummary
.
Try this:
Dim Item As ListViewItem = CType(lvsummary.Items(0), ListViewItem)
If Not Item.FindControl("idTextbox") Is Nothing
Dim txtid As TextBox = CType(Item.FindControl("idTextbox"), TextBox)
End If
--Amit