因此,这个问题可能是一个相当具体的问题,但我对我说是这样说的,因为在我能够确定原因之前,我花了几个小时与它打交道。
<asp:GridView ID="gvAttachments" DataKeyNames="UploadedID" AutoGenerateColumns="false" OnSelectedIndexChanged="gvAttachments_SelectedIndexChanged" runat="server">
<EmptyDataTemplate>There are no attachments associated to this email template.</EmptyDataTemplate>
<Columns>
<asp:TemplateField ItemStyle-Width="100%">
<ItemTemplate>
<asp:LinkButton CommandName="Select" runat="server"><img src="/images/icons/trashcan.png" style="border: none;" /></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
在GredViewTemplate Field的项目中,我有一个内部形象的链接。 通常,当我有下一段文字的图像时,我就这样做了,但出于任何原因,我只是有自己的形象。 这使得更新小组总是完全退步。