I am in highschool and I'm going to this contest with all my region. So I have to be the best.The problem is that I am not allowed to go with my laptop there and I have to work, offline (only the MSDN Offline Help), on their computers. And the version of C# there is 2008 or 2010 (depends on the PC).
My question is: How can I solve the next problem Without installing anything on the computer:
I have a database .Mdf file.And my program needs to be portable so I have to use in connectionsting |DataDirectory|,but the problem is when I'm inserting data etc. The data doesn't save if I close and open again the program.
Some guy answerd me and telled me that it's beacuse of the connection string. And because I have to install "SQL Server Management Studio Express", but obviously I can't do that on their PCs.
So do you guys have any idea how can use a database with |DataDirectory| without having any problems with saving data after closing the program?