FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

Samples/UsingSQLite/README.md at ReturnConversion · Excel-DNA/Samples · GitHub

Latest commit

 

History

History
24 lines (17 loc) · 974 Bytes

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"

Back | FazBrowse Home | New Git URL