Thursday 20 February 2014

Export images from web to Client

 public void CopyFiles(string sourcePath, string destinationPath, string sFileName)
    {
        try
        {
            string Sfilepthe = sourcePath + "\\" + sFileName;
            string Sdestination = destinationPath + "\\" + sFileName;
            if (File.Exists(Sfilepthe))
            {
                File.Copy(Sfilepthe, Sdestination, true);
            }
        }
        catch (Exception ex)
        {
            string mmsg = ex.Message;
            showEXPMessages("(CopyFiles)  " + mmsg);// showMessages(mmsg);
        }
    }

No comments:

Post a Comment

Excel Sort values in ascending order using function TEXTJOIN

 Excel ::  Text ::  1,3,5,2,9,5,11 Result :: 1,2,3,5,5,9,11 Formula ::     TEXTJOIN ( ",",1,SORT(MID(SUBSTITUTE( A1 ,","...