<?xml version="1.0"?>

<!DOCTYPE Grid SYSTEM "AspGrid.dtd">

<Grid>
	<SQL>select id, dept_id, name, salary, hiredate, maritalstatus, fullyvested from employees</SQL>

	<Cols Index="id">
		<Hidden>True</Hidden>
	</Cols>

	<Cols Index="dept_id">
		<AttachForeignTable SQL="select id, name from departments" KeyCol="1" DispCol="2"/>
		<Caption>Department</Caption>
	</Cols>

	<Cols Index="name">
		<Caption>Full Name</Caption>
	</Cols>

	<Cols Index="salary">
		<FormatNumeric Decimal="2" Prefix="$"/>
		<Caption>Salary</Caption>
		<Cell Align="RIGHT"/>
	</Cols>

	<Cols Index="hiredate">
		<FormatDate Format="%b %d, %Y"/>
		<Caption>Hire Date</Caption>
		<DefaultValue Type="date">05/18/2000</DefaultValue>		
	</Cols>

	<Cols Index="maritalstatus">
		<Array>
			<Item Value="Single" DBValue="3"/>
			<Item Value="Married" DBValue="2"/>
			<Item Value="Divorced" DBValue="1"/>
		</Array>
		<Caption>Marital Sts</Caption>
	</Cols>

	<Cols Index="fullyvested">
		<AttachCheckbox Checked="Yes" Unchecked="No"/>
		<Caption>Vested</Caption>
	</Cols>

	<Cols Index="0">
		<Header BGColor="#B0B0FF"/>
	</Cols>

	<Cols Index="999">
		<Header BGColor="#B0B0FF"/>
	</Cols>

	<ColRange From="2" To="7">
		<CanSort>True</CanSort>
		<Cell>
			<Font Face = "Arial Narrow"/>
		</Cell>
		<Header BGColor="#B0B0FF">
			<Font Face="Arial Narrow"/>
		</Header>
		<InputSize>10</InputSize>
	</ColRange>

	<ImagePath>../images/</ImagePath>
	
	<ShowLeftSideButtons/>

	<Table CellPadding="1" CellSpacing="0">
		<TableCaption Value="Employees">
			<Font Face="Arial" Bold="True"/>
		</TableCaption>
	</Table>
</Grid>