Export (0) Print
Expand All

Display sample data in a Data view

On occasion, you may find it useful to display sample data in a Data View. For example, if the data source contains hundreds of records, it is faster and easier to modify the appearance of a Data View while it displays sample data instead of your real data. Or you may want to display sample data while you modify the Data View because the data source may be new and not yet contain any data. With Microsoft Expression Web, you can easily display sample data in a Data View. Sample data appears only in Design view. When you choose to display sample data, your real data is unaffected.

Cc295067.alert_note(en-us,Expression.10).gifNote:

If you have a Data View set to display more than five records, and you choose to display sample data, only five sample records appear in your sample Data View. However, the Data View still displays more than five records when displaying real data.

To display sample data in a Data View

  1. In Design view, in your web page, right-click the Data View, and then click Show Common Control Tasks.

    Cc295067.alert_tip(en-us,Expression.10).gifTip:

    You can also click the Data View and then click the arrow Cc295067.56557a2a-a4ef-4c47-906b-f64b8d530387(en-us,Expression.10).png in the upper-right corner to show the Common Data View Tasks list. Click the arrow again to hide the list.

  2. In the Common Data View Tasks list, in the Data View Preview box, click Show with sample data.

  3. To restore the default view, in the Common Data View Tasks list, in the Data View Preview box, click Default.

Community Additions

ADD
Show:
© 2014 Microsoft