msdn上的這個範例代碼調試通不過?asp.net2.0
錯誤為:Cannot find column [@EmployeeID].
<html>
<head runat= "server ">
<title> Master/Detail Page </title>
</head>
<body>
<form runat= "server ">
<table cellpadding= "10 ">
<tr>
<td valign= "top ">
<asp:GridView
ID= "MasterGridView "
DataSourceID= "MasterSource "
AutoGenerateColumns= "false "
DataKeyNames= "EmployeeID "
CellPadding= "5 "
SelectedRowStyle-BackColor= "#eeeeee "
Runat= "Server ">
<Columns>
<asp:TemplateField HeaderText= "Employee ">
<ItemTemplate>
<asp:LinkButton CommandName= "Select " Runat= "Server ">
<%# Eval( "LastName ") %> , <%# Eval( "FirstName ") %>
</asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
<td valign= "top ">
<asp:DetailsView
DataSourceID= "DetailsSource "
AutoGenerateRows= "false "
CellPadding= "5 "
FieldHeaderStyle-Font-Bold= "true "
FieldHeaderStyle-HorizontalAlign= "Right "
Runat= "Server ">
<Fields>
<asp:ImageField DataField= "Photo " HeaderTe