<asp:gridview id="gvRpt" runat="server" autogeneratecolumns="false" width="99%" borderstyle="None" borderwidth="1px" cellpadding="2" cssclass="mGrid" allowpaging="true" pagesize="10" style="margin-top: 0px" onpageindexchanging="gvRpt_PageIndexChanging" onrowdatabound="gvRpt_RowDataBound"> <columns> <asp:templatefield headertext="Sr. No." headerstyle-wrap="false"> <itemtemplate> <%#Container.DataItemIndex+1 %> </itemtemplate> <itemstyle cssclass="GridDataC" wrap="false"></itemstyle> </asp:templatefield> <asp:boundfield datafield="BankName" headertext="Bank Name"> <itemstyle cssclass="GridDataL"></itemstyle> </asp:boundfield> <asp:boundfield datafield="BankCode" headertext="Bank Code"> <itemstyle cssclass="GridDataC"></itemstyle> </asp:boundfield> <asp:boundfield datafield="FileName" headertext="File Name"> <itemstyle cssclass="GridDataL"></itemstyle> </asp:boundfield> <asp:templatefield headertext="Download"> <itemtemplate> <b><a id="lnkDownload" target="_blank" href="D:/Lubna/ReportGeneration_WinApp/ReportGeneration_WinApp/DownloadPDF/HDF/HDFReport_27Aug2014_051145.pdf" runat="server" >Download</a></b> </itemtemplate> <itemstyle cssclass="GridDataC" wrap="false"></itemstyle> </asp:templatefield> <asp:boundfield datafield="Statusdesc" headertext="Status" /> <asp:boundfield datafield="CreatedDate" headertext="Created Date" dataformatstring="{0:dd-MMM-yyyy}" /> </columns> </asp:gridview>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)