Hi,
In my app I am using ASTreeView control and ASContextMenu.
In the context Menu I have the menu Items ADD,EDIT,DELELTE.
I am adding a folder it is successfully added to treeview and saved into database table.
Now my requirent is when successfully saved into database I have to create that folder with the name in my local machine "D:\ROOT".
For example if I add a folder named "HONEY" by Treeview Context menu, it will have added successfully in the database and I get return value "1" for successful insertion, now based on return val =1, I have to create the HONEY folder into D:ROOT(i.e D:\ROOT\HONEY\)
How can I solve this one,
If you know help me,
Thanks & Regards,
Honey
The OP added:
i solved that one by following
string MainRootFolder =@"D:\ROOT";
string newPath = System.IO.Path.Combine(MainRootFolder,
obj.FName);
(In obj.Fname i am getting created folder name, ex:Honey)
System.IO.Directory.CreateDirectory(newPath);
but this is not my full requirement,
if i add sub Folder named BEE to HONEY Folder, according to the above code the new folder is adding in the D:\ROOT\BEE but i want like this D:\ROOT\HONEY\BEE
How i can solve this
If u know help me..