In the Properties dialog box that opens, click (Web proxy server)
Saturday, October 13th, 2007In the Properties dialog box that opens, click on General in the left pane. Then specify the number of columns you want to display from the Columns option. For the Layout option, you need to choose Table. If you choose Flow, the columns won t work. Use the Flow option only when you want data displayed without a table. Use the Direction option to choose a Horizontal or Vertical orientation for the columns. If you choose Horizontal, the first record s data appears first, the second record s data appears in the column to the right, and so forth. If you choose Vertical, the first record s data appears first, the second record s data appears under that one in the same column, then the third record, and so forth down the page. To put some space between columns, click the Borders option at the left side of the Properties dialog box. Then set the Cell Spacing setting to the number of pixels to put between each column. Optionally, if you want to show border lines on the page, choose an option from the Grid Lines drop-down list. Then choose a color and width for the borders. To see the results of your changes, click OK to close the Properties dialog box. Then view the page in a Web browser. Figure 12-47 shows an example where I set Columns to 2, Direction to Horizontal, and Cell Spacing to 40. It s the same data as in Figure 12-46 split into two columns. Using DataList to show pictures In Chapter 11, I created a sample table named Photos that contains two text fields named PhotoCaption and PhotoURL. The PhotoCaption field contains Figure 12-47: The DataList control showing data in two columns. 302 Part III: Personalization and Databases
In case you need quality webspace to host and run your web applications, try our personal web hosting services.