EbubekirBastama.BastamaExcelExport 1.1.2

dotnet add package EbubekirBastama.BastamaExcelExport --version 1.1.2
NuGet\Install-Package EbubekirBastama.BastamaExcelExport -Version 1.1.2
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="EbubekirBastama.BastamaExcelExport" Version="1.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EbubekirBastama.BastamaExcelExport --version 1.1.2
#r "nuget: EbubekirBastama.BastamaExcelExport, 1.1.2"
#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 EbubekirBastama.BastamaExcelExport as a Cake Addin
#addin nuget:?package=EbubekirBastama.BastamaExcelExport&version=1.1.2

// Install EbubekirBastama.BastamaExcelExport as a Cake Tool
#tool nuget:?package=EbubekirBastama.BastamaExcelExport&version=1.1.2

BastamaExcelExport

Excel Export Kullanımı

Bu kütüphane, Excel verileri aktarmak için kullanışlı bir yol sunar. Aşağıdaki örneklerde nasıl kullanılacağını görebilirsiniz.

Açık Kullanım

Aşağıdaki örnek, Excel verilerini açık bir şekilde aktarmak için kullanılır:

using BastamaExcelExport;

class Program
{
   static void Main(string[] args)
   {
       using (EbsExcelExport excelExporter = new EbsExcelExport(true))
       {
           // dataGridView1 verilerini Excel'e aktar
           excelExporter.ExportToExcel(dataGridView1, "C:\\ÇıktıYolu", "DosyaAdı", true);
       }
   }
}

Kapalı Kullanım

Aşağıdaki örnek, Excel verilerini kapalı bir şekilde aktarmak için kullanılır:

using BastamaExcelExport;

class Program
{
   static void Main(string[] args)
   {
       using (EbsExcelExport excelExporter = new EbsExcelExport(false))
       {
           // dataGridView1 verilerini Excel'e aktar
           excelExporter.ExportToExcel(dataGridView1, "C:\\ÇıktıYolu", "DosyaAdı", false);
       }
   }
}

Excel Export Kullanım Videosu

Video Adı

Excel İmport Kullanımı

Bu kütüphane, bir Excel dosyasından veri okuyarak bir DataTable döndürmenizi sağlar. Daha sonra bu veriyi DataGridView, ListBox, ListView gibi bileşenlere aktarabilirsiniz.

Aşağıdaki örnek, Excel verilerini bir DataGridView kontrolüne aktaran temel bir kod parçası sunar:

Kullanım Örneği

Aşağıda, bu yöntemi kullanarak Excel verilerini bir DataGridView kontrolüne aktaran örnek bir kod parçası bulunmaktadır:

using (ExcelReader excelReader = new ExcelReader("EBSHarita_Cikti_Verisi.xlsx"))
{
    DataTable data = excelReader.ReadData();
    dataGridView1.DataSource = data;
}

Excel İmport Kullanım Videosu

Video Adı

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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.1.2 172 10/2/2023
1.1.0 126 9/8/2023
1.0.0 110 9/7/2023

Fixed a runtime exception: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'Cannot perform runtime binding on a null reference.