# Data Views

## Content

List allows you to display data in different ways through <span data-popup-content="This property is available in \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="DataView" data-popup-theme="ui-tooltip-green qtip-green">DataView</span> property of the <span data-popup-content="This class is available in \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="C1List" data-popup-theme="ui-tooltip-green qtip-green">C1List</span> class. The **DataView** property accepts value from the [DataViewEnum](/componentone/api/win/online-list/dotnet-api/C1.Win.List.10/C1.Win.List.DataViewEnum.html) to set the data view to one of the following options:

| **Options** | **Image** | **Descriptions** |
| ------- | ----- | ------------ |
| MultipleLines | ![multiplelines](https://cdn.mescius.io/document-site-files/images/1e4aa2c8-7f81-4e43-8ed4-f673f1e68381/images/multiplelines.png) multiplelines | Displays fields with multiple lines. In multiple line view, if the dataset contains more fields than can fit in the list area, then a single record spans multiple lines. This enables the end user to simultaneously view all of the columns of a record within the width of the list without scrolling horizontally. |
| Normal | ![normalview](https://cdn.mescius.io/document-site-files/images/1e4aa2c8-7f81-4e43-8ed4-f673f1e68381/images/quickstart.netfw.png) normalview | In the normal view, the list only displays flat data as it does not support hierarchical data. If the list is bound to a hierarchical data source, only the data from the master table gets displayed. |

## Set Data View

To customize the data view of the list, you can use the DataView property as shown in the following code snippet. Here, we set the value of DataView property to MultipleLines to display data in multiple lines view. This examples uses the sample created in the [Quick Start](/componentone/docs/win/online-list/listforwinformsquick) topic.

```csharp
c1List1.DataView = C1.Win.C1List.DataViewEnum.MultipleLines;
```

Similarly, you can display data in the normal view by setting the value of DataView property to Normal.