string source = txt_Files.Text;
string dest = "d:\\\\uploadfiles\\"; string filename = txt_targetfile.Text; // string fileformet = combo_fileformet.SelectedItem.ToString(); string givenfile = dest + filename; File.Copy(source, givenfile + (new FileInfo(source).Extension)); string qury = ""; qury = "insert into Upload_db values('" + txt_Fileid.Text + "','" + givenfile+ "')"; Db_class.cls_conn.affct_qry(qury); MessageBox.Show("success"); txt_Fileid.Clear(); txt_targetfile.Clear(); view_treeview String way = treeView_uploadFile.SelectedNode.Text.ToString(); Process.Start(way);
string dest = @"d:\uploadfiles\";
(new FileInfo(source).Extension));
Path.GetExtension(source);
string dest = "d:\\\\uploadfiles\\";
string dest = "d:\\uploadfiles\\";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)