Hi plz help me.....
I need to create folder and save my database with in the folder each time when an account is created.For every account there should be a folder by name which is the code that i am giving in account details.When the user clicks the save button ,need to create the folder and save databse in to it....
its urgent....plz help me...............
Loading
Kirtan PatelPosted Sep 15, 2009, 9:09 AM
dont forget to matrk " Do you like answer" please it will give me some credits :)
private void button1_Click(object sender, EventArgs e)
{
Directory.CreateDirectory(@"E:\YourDirectoryName");
}
Kirtan PatelPosted Sep 16, 2009, 5:53 AM
Resmy RaviPosted Sep 16, 2009, 1:13 AM
I am creating an accounting package.In that when a company is created,i need to maintain a separate database.For each company there should be separate databse.So when the user creats a company,a separate folder should be created and the copy of the database should be saved in that folder.The folder name should be the regno of the company....
It is my problem.....Plz help me.....how to save the database....
Roei BarPosted Sep 15, 2009, 7:19 AM
Roei BarPosted Sep 15, 2009, 7:17 AM
why dont you just save an XML file with the user Details to folder, or save all details to db and thats it??