RaisExcelExport 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package RaisExcelExport --version 1.1.0                
NuGet\Install-Package RaisExcelExport -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RaisExcelExport" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RaisExcelExport --version 1.1.0                
#r "nuget: RaisExcelExport, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RaisExcelExport as a Cake Addin
#addin nuget:?package=RaisExcelExport&version=1.1.0

// Install RaisExcelExport as a Cake Tool
#tool nuget:?package=RaisExcelExport&version=1.1.0                
    private void Form1_Load(object sender, EventArgs e)
    {

        List<Object> Employees = new List<object>();
        for (int i = 1; i <= 10; i++)
        {
            Employees.Add(new Employee { SrNo = i, Name = null, JoiningDate = DateTime.Now.AddDays(i), Hike = 12.34 + i, Score = (i) - 100 });
        }

         RaisExcelExport exportObject = new RaisExcelExport();

        exportObject.Columns.Add(new ExcelColumn() { BindToProperty = "SrNo", DataType = ExcelColumnDataType.Integer, HeaderText = "Sr. No.", Width = 20 });
        exportObject.Columns.Add(new ExcelColumn() { BindToProperty = "Name", DataType = ExcelColumnDataType.Text, HeaderText = "Employee Name", Width = 50 });
        exportObject.Columns.Add(new ExcelColumn() { BindToProperty = "JoiningDate", DataType = ExcelColumnDataType.Date, HeaderText = "Joining Date", Width = 15 });
        exportObject.Columns.Add(new ExcelColumn() { BindToProperty = "Hike", DataType = ExcelColumnDataType.Double, HeaderText = "Hike", Width = 10 });
        exportObject.Columns.Add(new ExcelColumn() { BindToProperty = "Score", DataType = ExcelColumnDataType.IntegerNegative, HeaderText = "Score", Width = 10 });

        exportObject.Data = Employees;
        exportObject.SheetName = "Employee List";

        /* Save to disk */
        exportObject.CreateExcelExport(@"c:\temp\EmployeeExport.xlsx");


        /* return as memorystream */
        List<Employee> data = new List<Employee>();
        MemoryStream memoryStream = exportObject.CreateReport();

        System.Diagnostics.Process.Start(@"c:\temp\EmployeeExport.xlsx");

    }
}


public class Employee
{
    public int SrNo { get; set; }
    public string Name { get; set; }
    public DateTime JoiningDate { get; set; }
    public double Score { get; set; }
    public double Hike { get; set; }
}
Product Compatible and additional computed target framework versions.
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.0 810 1/31/2019
1.4.0 662 1/17/2019
1.1.0 635 1/15/2019
1.0.0 921 1/1/2019

Summary of changes made in this release of the package.