站点下的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;"/>&nbsp;
                                    <input type="button" class="UBut" value="修改" onclick='javascript:OpenEdit(<%# Eval("ID") %>);' />&nbsp;
                                    <input type="button" class="DBut" value="删除" onclick='isdelete(<%# Eval("ID") %>);' />
                                </ItemTemplate>

posted @ 2013-07-18 15:12  小小夜  阅读(284)  评论(0编辑  收藏  举报