当前上下文中不存在名称“Bind”?
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="classID"
Width="745px" >
<Columns>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# hooyesState(Bind("state")) %>'></asp:Label>
</ItemTemplate>
</Columns>
</asp:GridView>
.cs
public string hooyesState(string hooyes)
{
return hooyes;
}