6
Answers

How to get filebytes from dt.row["FileName"].ToString()

Sandeep kumar

Sandeep kumar

3y
671
1
File.WriteAllBytes(Path.Combine(
ConfigurationManager.AppSettings.Get("DocumentPath").ToString(), randString + FileExtension), array[]);
 
 
 
i have a datatable which consist file name, from file name i want to know file bytes ,so that i pass a parameter into 
below function.
File.WriteAllBytes(Path.Combine(
ConfigurationManager.AppSettings.Get("DocumentPath").ToString(), randString + FileExtension), ?);
 
Answers (6)