1
Answer

when i create a dynamic sql database it automaticaly store in debug folder of applicatio

umesh rakhe

umesh rakhe

15y
2k
1
i wrote a code for creating dynamic database in sql but i want to put it into my desire folder but it is created in applications debug folder how.so how do create a dynamic database at my desire location
Answers (1)
0
Vimal Kandasamy
NA 2.3k 152.3k 15y
If you create a file without giving its full path.it will created with in debug folder.because that is Application's Startup path(folder).

Ex:
File.Create("hii.txt");

this statement will create a text file named as hii in debug folder only.

File.Create("c:\\hii.txt");

this will create a file in c drive.
so give full path where you want to create it.