Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 974 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 974 Bytes

Using SQLite with Excel-DNA

This sample shows how to use the SQLite database library from an Excel-DNA add-in.

To try it:

Create the Northwind.db database

Create the Excel-DNA add-in

  • Create a new C# Class Library project
  • PM> Install-Package Excel-DNA
  • PM> Install-Package System.Data.SQLite.Core
  • Add the code in MyFunctions.cs
  • Press F5 to run
  • Enter =ProductName(1) in a cell - the result should be "Chai"