I Wonna Use Sqlite In My WPF Project But When i Select The Table It Gives Me This Error:
Blockquote An exception of type 'System.FormatException' occurred in mscorlib.dll but was not handled in user code Additional information: Input string was not in a correct format.
I've Already Imported The Refrences. Every Thing Must Be Fine But It Gives Error On Run.
This is My Code :
string QuerySelect = "select * from TblGroup";
SQLiteCommand cmd = new SQLiteCommand(QuerySelect, conn);
SQLiteDataAdapter da = new SQLiteDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GrdGroup.ItemsSource = dt.DefaultView;
Aucun commentaire:
Enregistrer un commentaire