I have a datagridview where all the selected file names are displayed. Next to that column of file name(Dateinamen), there is another column for a new file name(Neue Dateinamen). User can type in new file name. How can I change the file names with the new ones which are typed in by the user?
Here is the code for listing the selected files
if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
string[] dateiNamen = ofd.SafeFileNames;
for (int i = 0; i < ofd.FileNames.Count() - 1; i++)
{
dataGridView1.Rows.Add(dateiNamen[i]);
}
}
