Saving file in folder and path in database
<p>I want to save image into a folder and the path of the folder to the database. </p>

<p>I have done this with <code>File.Copy(filepath)</code> command but it is giving me error when a file with the same name already exists there. </p>

<p>Second thing in this command is that I have to provide a filename in it from which it is copying the file. If I am modifying a record and not the image then it is giving error that file source cannot be empty. </p>

<p>I have also tried <code>Picture1.image.save(filename)</code> but I have not found any command to overwrite the existing file. </p>

<p>Please help me by providing a simplest way to do all this.</p>
