<asp:TemplateField HeaderText="删除新闻" ShowHeader="False">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("NewsID") %>' CommandName="DelCmd" OnClientClick="return confirm('您确定要删除吗?');">删除</asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>