SQLiteConnection m_dbConnection; m_dbConnection = new SQLiteConnection("Data Source=data.db;Version=3;"); m_dbConnection.Open(); string sql = "select Question from questions where QuestionID = 1;"; SQLiteCommand command = new SQLiteCommand(sql, m_dbConnection); SQLiteDataReader reader = command.ExecuteReader(); //while (reader.Read()) txtResponse.Text = "1"; //returnpoint = reader["Question"].ToString(); //txtResponse.Text = returnpoint;
SQLite format 3
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)