Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
string was not recognized as a valid datetime c# sqlite sele
Gowtham Raj R
May 28 2015 2:18 AM
2.6k
Reply
SQLiteDataAdapter thisAdapter = new SQLiteDataAdapter("Beginning time of SELECT FROM in Table 1", conn);
DataSet thisDataSet = new DataSet();
thisAdapter.Fill(thisDataSet, "Record "); // in this line error this column query indicates the string was not recognized as a valid datetime????
dataGridView1.DataSource = thisDataSet.Tables[ "Record"];
But for other non datetime type column query the program without any problems
SQLiteDataAdapter thisAdapter = new SQLiteDataAdapter("The SELECT Title FROM Table 1", conn);
DataSet thisDataSet = new DataSet();
thisAdapter.Fill(thisDataSet, "Record");
dataGridView1.DataSource = thisDataSet.Tables["Record"];
It has the string variable into a datetime type library into the library, why at query time display the string was not recognized as a valid datetime????
It has the string variable into a datetime type library into the library, why at query time display the string was not recognized as a valid datetime????
It has the string variable into a datetime type library into the library, why at query time display the string was not recognized as a valid datetime????
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
syntax SIM card registration with the network through the AT
__Boxed' could not be found (are you missing a using directi