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.
ID | Name | Quantity | Price |
---|---|---|---|
<%#$this->DataItem['id'] %> | <%#$this->DataItem['name'] %> | <%#$this->DataItem['quantity'] %> | $<%#$this->DataItem['price'] %> |