I am using a radGrid, on the itemInserted event I have a textbox which takes a name and stores it the table and I am also creating a directory of that name.
Now I am facing problems with renaming the directory I created.
I want to know how I can rename the directory when I want to Edit to change the name. I know this code
System.IO.Directory.Move(@"c:\abc", @"c:\cba");
or
FileIO.FileSystem.RenameDirectory(oldFolderName.Text, newFolderName.Text)
If I use EditCommand event and find the value of the name column But when I will change the name to something else , How will I take the new value and rename the directory accordingly?
Now I am facing problems with renaming the directory I created.
I want to know how I can rename the directory when I want to Edit to change the name. I know this code
System.IO.Directory.Move(@"c:\abc", @"c:\cba");
or
FileIO.FileSystem.RenameDirectory(oldFolderName.Text, newFolderName.Text)
If I use EditCommand event and find the value of the name column But when I will change the name to something else , How will I take the new value and rename the directory accordingly?