repeater 控件的 Findcontrol            If e.Item.ItemType = ListItemType.Item Then
repeater 控件的 Findcontrol                
Dim lbtn As LinkButton = CType(e.Item.FindControl("lbtn_gb_delete"), LinkButton)
repeater 控件的 Findcontrol                lbtn.Visible 
= True
repeater 控件的 Findcontrol                lbtn.Dispose()
repeater 控件的 Findcontrol            
End If
donets
这里的 itemType的判断不能少 不然就是报错

相关文章: