Datasheet

10. You will see the grid change to reflect the new style. However, before you run the page, there are
a few other changes you can make to produce a nicer result. Two of the columns in the grid dis-
play information that is not really relevant in this page. The first column, named
MenuItemID,
contains the ID value for each menu item, while the column named
GraphicFileName contains
the file name of an image for each item. So, in the GridView Tasks pane, click the Edit Columns
link to open the Fields dialog (see Figure 1-30). In the Fields dialog, locate the
MenuItemID col-
umn in the Selected fields list, and remove it by clicking the button marked with a cross next to
the list. Then repeat this process to remove the
GraphicFileName column from the grid.
Figure 1-30: Fields dialog
11. Click OK to close the dialog, and you will see the updated GridView control in the page. You
can see that it now only contains four columns from the source data table (see Figure 1-31).
26
Chapter 1
04_588079 ch01.qxd 11/29/05 3:48 PM Page 26