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

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...