vendredi 12 juin 2015

C# - SQLite SELECT Query * Return Data Type

When I query a SQLite Table from C# using an asterisks like:

string SQLText = "SELECT * FROM [TableName]";
SqliteCommand Command = new SqliteCommand (SQLText, Database);
(?) Result = (?)Command.ExecuteScalar ();

Since there is obviously going to be more than one data value (And Typically of different types) is it returned as an array of Objects "object[]".

What Data Type is being returned? If you find out please post where you got your info so I can avoid asking stupid questions again.

Sean

Aucun commentaire:

Enregistrer un commentaire