Hi wahbah,
You could refer to the following code.
DataRow dr = DT.NewRow(); string filelist = ""; for (int i = 0; i < hfc.Count; i++) { //... filelist += "upload" + hpf.FileName + "*"; //... } dr["FilePath"] = filelist.Trim('*'); //...
Best Regards,
Fei Han