1.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MultipleFileDownLoadSample._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Button ID="btDownload" runat="server" Text="下载" onclick="btDownload_Click" 
            style="height: 26px" />
    <hr />
    
        <asp:GridView ID="gv" runat="server" AutoGenerateColumns="false">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="chk" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="文件名">
                    <ItemTemplate>
                        <asp:Label ID="file" runat="server" Text='<%# Eval("FileName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
View Code

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 1970-01-01
  • 2021-06-10
  • 2022-12-23
  • 2021-10-29
  • 2021-12-25
猜你喜欢
  • 2021-11-27
  • 2021-12-24
  • 2021-06-28
  • 2021-08-09
  • 2022-12-23
  • 2021-12-02
  • 2022-01-03
相关资源
相似解决方案