Gather a set of filenames from a directory and it's sub folders.
string[] files =
Directory.GetFiles("D:\\M2Images", "*.jpg", SearchOption.AllDirectories);
This returns an array of absolute paths to all of the files in the directory specified in the first argument of GetFiles.
select * from msdb.dbo.sysjobs j
join msdb.dbo.sysjobsteps js on js.job_id = j.job_id
where command like '%reporting_drop_ship_orders%'
Embedded Image Objects
string myFilePath = @"<local file path>";
//write the filesystem image to the browser.
FileStream file = File.OpenRead(myFilePath);
byte[] buffer = new byte[file.Length];
file.Read(buffer, 0, buffer.Length);
file.Close();
Response.Write("<img src =\"data:image/jpeg;base64," + Convert.ToBase64String(buffer) + "\" /> <br />");