This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Runtime.InteropServices; | |
using System.Windows.Threading; | |
class Program | |
{ | |
// DESKTOP_ACCESS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System | |
open System.Data.SQLite | |
let createTable conn = | |
let cmdText = | |
"create table if not exists Part( | |
PartNo TEXT PRIMARY KEY not null, | |
PartName TEXT not null);" | |
use cmd = new SQLiteCommand(cmdText, conn) |