I have a ListView control with an ItemTemplate, which has three controls in it. There are two labels, and a hyperlink control. The ListView datasource is an SqlDataSource, with a Select statement supplying text for the two labels, and the NavigateUrl property for the hyperlink control. The NavigateUrl property for some items is Null. In this case I want to set the Visible property of the hyperlink to false. Otherwise I want to set the NavigateUrl property to the value from the database field. I am trying to put code in the ItemDataBound event of the ListView, without great success - any help is appreciated