I'm new to programming and my first project is connecting c# to sqlite and I have been successful connecting them.
The problem is that I have to always put the sqliteconnection con = new sqliteconnection("Data Source = sampledb.db;Version = 3");
The question is, can I just use a class where I could just put the sqliteconnection and just simply call it and can someone show me a sample code? thank you, your answers would be really much be appreciated,
btw I'm from the philippines, sorry for my english its not that good :)