開始一個 Template Field
[geshi lang=asp]
<asp:templatefield>
<itemtemplate>
<asp:linkbutton text="刪除" commandname="Delete" onclientclick="return confirm(‘確認刪除?’);" runat="server" id="ButtonDelete">
</asp:linkbutton>
</itemtemplate>
</asp:templatefield>
[/geshi]