Hi all.
Can someone give me working c++ forms sample?
Because I cant find some tutorial/man and recieving lot of error...
For example:
System::String^ connection_string = "Data Source=C:\\test.db";
SQLiteConnection con = gcnew SQLiteConnection(connection_string);
con.Open();
SQLiteCommand cmd = gcnew SQLiteCommand(con); // Here I've got error and I was unable to link command with connection(if I'll write this code:
cmd.connection=con;//cannot convert parameter 1 from 'System::Data::SQLite::SQLiteConnection' to 'System::Data::Common::DbConnection ^'
)
Would be great if someone got working c++ samples for:
1. Open database;
2. Insert data;
3. Read and display data; (is there way to read data in array[ ][ ] or something? )
Thank You for this product.