<table id="tblsalary"> <tr style="background-color: #2291FF;"> <td align="left" class="salarytable1"> Basic Salary</td> <td align="left" class="salarytable2" style="font-weight: bold"> <asp:Label ID="lblBasic" runat="server" Text="Label"></asp:Label> </td> <td align="left" class="salarytable1"> PF Employee Contribution</td> <td align="left" class="salarytable2" style="font-weight: bold"> <asp:Label ID="lblPFcontribution" runat="server" Text="Label"></asp:Label> </td> </tr></table>
Protected Sub btndownload_Click(sender As Object, e As EventArgs) Handles btndownload.Click Dim excel As GridExcelExport = New GridExcelExport(Me.tblsalary, "Salary Slip.xls") excel.ExportNestedTable = True excel.Export() End Sub
GridExcelExport
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)