Author: computer_boy | Posted on: 9/24/2009 10:26:01 AM | Views : 397

Hi,
The following code is part of code behind for a menu page created in a book which I am using to develop some of the functionality for my website and I would appritiate if someone could let me know what does the higlighted part of code mean, as well as a simple english description what the code is all about.
Finally since in the page for which the code below is part of the code behind, a DataList has been used to show the menu (a food menu for online ordering) and I want to know if I have used a Gridview insted for my website with no repeater how would I change the code.



Protected Sub DataList1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles DataList1.ItemDataBound

        If e.Item.ItemType = ListItemType.Item OrElse _
            e.Item.ItemType = ListItemType.AlternatingItem T ...

Go to the complete details ...