S
ShatterStar2012
Guest
Hi I am using SQLite in a project of mine but it gives me the following error "... is a method but is used like a type, this is the code that I have.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Data.SQLite;
namespace TimeZoneDesktopApp
{
public partial class FormNewImportTextFile : Form
{
public FormNewImportTextFile()
{
InitializeComponent();
comboBoxImportData.SelectedIndex = 0;
}
private void btnImportSetsBrowse_Click(object sender, EventArgs e)
{
//function body
}
SQLiteConnection sqlc = new SQLiteConnection.CreateFile("database1"); //*** The error occurs on this line
}
}
Continue reading...
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Data.SQLite;
namespace TimeZoneDesktopApp
{
public partial class FormNewImportTextFile : Form
{
public FormNewImportTextFile()
{
InitializeComponent();
comboBoxImportData.SelectedIndex = 0;
}
private void btnImportSetsBrowse_Click(object sender, EventArgs e)
{
//function body
}
SQLiteConnection sqlc = new SQLiteConnection.CreateFile("database1"); //*** The error occurs on this line
}
}
Continue reading...