<asp:DataList ID="DataList1" runat="server" DataKeyField="psId"
DataSource="SqlDataSource1">
<HeaderTemplate>
<table width="200" border="0">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td><%# Eval("photoSetName") %></td>
<td>(<%#Eval("creatTime") %>)</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:DataList>
代码如上,求大神帮忙
------解决方案--------------------------------------------------------
改为
<asp:DataList ID="DataList1" runat="server" DataKeyField="psId"
DataSourceID="SqlDataSource1">