站点下的GridView的RowCommand事件的设置,与站点应用不一样
<ItemTemplate>
<%--<a href="<%#uploadPath(Eval("NewAppendixName").ToString())%>"><input type="button" class="CBut" value="下载" onclick='' /></a>--%>
<asp:Button ID="btnDown" class="CBut" runat="server" Text="下载" CommandName="DOWN" CommandArgument='<%# Eval("NewAppendixName")+","+Eval("OriginalAppendixName")%>+","+ ((GridViewRow) Container).RowIndex ' OnCommand="OutFile" OnClientClick="return true;"/>
<input type="button" class="UBut" value="修改" onclick='javascript:OpenEdit(<%# Eval("ID") %>);' />
<input type="button" class="DBut" value="删除" onclick='isdelete(<%# Eval("ID") %>);' />
</ItemTemplate>