TDataList Sample 1

TDataList is good at displaying tabular data in a non-tabular format. The following example displays a list of computer product information in 3 columns.

Since the page is mainly for display and does not require user interactions, the viewstate of TDataList is disabled to reduce page size.

Computer Parts
Total <%# $this->Parent->ItemCount %> products.
IDNameQuantityPrice
<%#$this->DataItem['id'] %> <%#$this->DataItem['name'] %> <%#$this->DataItem['quantity'] %> $<%#$this->DataItem['price'] %>