I hope the following helps;
foreach(DataGridViewRow row in this.dataGridView.Rows)
{
string fileName = row.cells[0].value.toString();
Thread t = new Thread(new ParameterizedThreadStart(UploadFile));
t.IsBackgroundThread = true;
t.Start(fileName);
}
public void UploadFile(string uploadFile)
{
}
Hope this helps.
Happy coding..!!
Please mark the answer as correct if this resolves your issue..
Thanks.