see binding time you can bind all the rows
and in your design section part you can take in DIV
<div id="div1" style="text-align:center" runat="server" visible="false" >
<%#Eval("Section")%>
</div>
And in code behind on ItemDataBound you can show and hide this div.IF section name changed then Show the div Other wise hide the div
If (e.Item.ItemType = ListViewItemType.DataItem) Then
Dim divCatHeader = e.Item.FindControl("divCatHeader")
If Section = oldsetion Then
divCatHeader.Visible = False
Else
divCatHeader.Visible = True
End If
To find value of section you can use this in ItemDataBound
If (e.Item.ItemType = ListViewItemType.DataItem) Then
Dim x
x = DirectCast(e.Item, ListViewItem)
x = DirectCast(x, ListViewDataItem)
Dim appl = DirectCast(x.dataitem, Object).Section