Click here to Skip to main content
15,914,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralCross browser Pin
bhattiprolu20-Dec-07 21:59
bhattiprolu20-Dec-07 21:59 
GeneralRe: Cross browser Pin
Deepak the Cool20-Dec-07 23:19
Deepak the Cool20-Dec-07 23:19 
GeneralRe: Cross browser Pin
Gandalf_TheWhite21-Dec-07 0:42
professionalGandalf_TheWhite21-Dec-07 0:42 
QuestionHow to print in asp.net Pin
Deepthy.P.M20-Dec-07 21:49
Deepthy.P.M20-Dec-07 21:49 
AnswerRe: How to print in asp.net Pin
Abhijit Jana20-Dec-07 21:55
professionalAbhijit Jana20-Dec-07 21:55 
Generalmove Folder Pin
AnhTin20-Dec-07 20:01
AnhTin20-Dec-07 20:01 
GeneralRe: move Folder Pin
Christian Graus20-Dec-07 20:21
protectorChristian Graus20-Dec-07 20:21 
GeneralRe: move Folder Pin
Abhijit Jana20-Dec-07 20:59
professionalAbhijit Jana20-Dec-07 20:59 
<br />
   /// <summary><br />
        /// Move Directory <br />
        /// </summary><br />
        /// <param name="SourcPath">Source Directory </param><br />
        /// <param name="DestPath">Destination Directory</param><br />
        public void MoveDir(string SourcPath, string DestPath)<br />
        {<br />
            DirectoryInfo dirInfo = new DirectoryInfo(SourcPath);<br />
            //FileSystemInfo finfo;<br />
            string destiFile;<br />
            if (!Directory.Exists(DestPath))<br />
                Directory.CreateDirectory(DestPath);<br />
            foreach(FileSystemInfo finfo   in dirInfo.GetFileSystemInfos())<br />
            {<br />
             destiFile=Path.Combine(DestPath,finfo.Name);<br />
             if ((FileSystemInfo)finfo is FileInfo)<br />
                 File.Move(finfo.FullName, destiFile);<br />
              else<br />
                 MoveDir(finfo.FullName, destiFile);<br />
<br />
            }<br />
<br />
           <br />
<br />
        }<br />


U can use this way, you need little bit of modification of code to remove the folder, else it working fine !!!!!
Best Regards
-----------------
Abhijit Jana
View My CodeProject Articles

"Success is Journey it's not a destination"

GeneralRe: move Folder Pin
AnhTin20-Dec-07 21:48
AnhTin20-Dec-07 21:48 
Generaltriggers in .net Pin
Member 387988120-Dec-07 19:56
Member 387988120-Dec-07 19:56 
GeneralRe: triggers in .net Pin
Christian Graus20-Dec-07 20:30
protectorChristian Graus20-Dec-07 20:30 
GeneralRe: triggers in .net Pin
Christian Graus20-Dec-07 20:30
protectorChristian Graus20-Dec-07 20:30 
GeneralRe: triggers in .net Pin
Venkatesh Mookkan20-Dec-07 21:19
Venkatesh Mookkan20-Dec-07 21:19 
Questioncompare validator Pin
KarthickRamalingam20-Dec-07 19:39
KarthickRamalingam20-Dec-07 19:39 
GeneralRe: compare validator Pin
Christian Graus20-Dec-07 20:33
protectorChristian Graus20-Dec-07 20:33 
GeneralRe: compare validator Pin
Sun Rays20-Dec-07 21:42
Sun Rays20-Dec-07 21:42 
GeneralDynamic Table in Javascript Pin
rajanandal20-Dec-07 19:06
rajanandal20-Dec-07 19:06 
Questionhow to show the values that are invisible in the grid view Pin
jagan12320-Dec-07 19:00
jagan12320-Dec-07 19:00 
AnswerRe: how to show the values that are invisible in the grid view Pin
Member 387988120-Dec-07 20:01
Member 387988120-Dec-07 20:01 
Generalsession between pages Pin
Sunil Wise20-Dec-07 18:50
professionalSunil Wise20-Dec-07 18:50 
GeneralRe: session between pages Pin
Sun Rays20-Dec-07 21:20
Sun Rays20-Dec-07 21:20 
GeneralRe: session between pages Pin
Venkatesh Mookkan20-Dec-07 21:33
Venkatesh Mookkan20-Dec-07 21:33 
QuestionRetrive System Unique details?? Pin
Soumya Mathew20-Dec-07 17:47
Soumya Mathew20-Dec-07 17:47 
AnswerRe: Retrive System Unique details?? Pin
Christian Graus20-Dec-07 18:29
protectorChristian Graus20-Dec-07 18:29 
AnswerRe: Retrive System Unique details?? Pin
Abhijit Jana20-Dec-07 19:25
professionalAbhijit Jana20-Dec-07 19:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.