Quantcast
Channel: C# Save multiple file in on server and gather their paths in in one cell , are this possible ?
Viewing all articles
Browse latest Browse all 3

Re: C# Save multiple file in on server and gather their paths in in one cell , are this possible ?

$
0
0

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


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>