用LinkButton链接转向是怎么弄的啊,是哪个属性。用PostBackUrl="News/news-detail.aspx?id={0}"有问题啊,求救啦!
<asp:TemplateField>
<ItemTemplate>
<img src="Images/news-list-style.gif" />
<asp:LinkButton ID="LinkButton1" runat="server" Text="<%#Bind('NewsName') %>" PostBackUrl="News/news-detail.aspx?id={0}"></asp:LinkButton>
<asp:Label ID="Label1" runat="server" Text="<%#Bind('ReleaseTime','{0:d}')%> " ></asp:Label>
</ItemTemplate>
</asp:TemplateField>