<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <contenttemplate> <div style="margin-left: 140px; margin-top: 90px"> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" AllowPaging="true" PageSize="50" OnRowCommand="GridView1_RowCommand" OnRowEditing="GridView1_RowEditing" OnRowCancelingEdit="GridView1_RowCancelingEdit" onrowdatabound="GridView1_RowDataBound1"> <columns> <asp:TemplateField HeaderText="USER ID"> <itemtemplate> <asp:Label ID="Label21" runat="server" Text='<%# Bind("userid") %>'> <asp:TemplateField HeaderText="FILE DOWNLOAD"> <itemtemplate> <asp:LinkButton ID="lnkDownload" ToolTip="Click here for download the file" runat="server" Text="Download File" CommandArgument='<%# Bind("FILEPATH") %>' CommandName="download" OnClick="lnkDownload_Click" ForeColor="Blue" Font-Underline="True"> <pre> <FooterStyle BackColor="#99CCCC" ForeColor="#003399" /> <HeaderStyle BackColor="#008B8B" Font-Bold="True" ForeColor="#CCCCFF" /> <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" /> <RowStyle BackColor="White" ForeColor="#003399" /> <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" /> <triggers> <asp:AsyncPostBackTrigger ControlID="lnkDownload" EventName="lnkDownload_Click" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)