for (i = 0; i <= GridView1.Rows.Count-1 ; i++) { string filepath = GridView1.Rows[i].Cells[2].Text; string filename = GridView1.Rows[i].Cells[3].Text; System.IO.File.Copy(filepath, "~/" + foldername + "/" + filename); }
file.copy
if file.exists(//path)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)