Click here to Skip to main content
15,888,733 members

Comments by Reza Oruji (Top 65 by date)

Reza Oruji 30-Sep-13 12:39pm View    
Thank You Ron
Reza Oruji 24-Sep-13 10:31am View    
Thank you Sergey
Reza Oruji 24-Sep-13 10:20am View    
Thanks, what if in case that there are more than one Image ?
Reza Oruji 17-Sep-13 1:27am View    
is this good :
var streams = new List<sqlfilestream>();
var images = new List<system.drawing.image>();
while (reader.Read())
{
string filePath = (string)reader["Path"];
byte[] transactionContext = (byte[])reader["TransactionContext"];
streams.Add(new SqlFileStream(filePath, transactionContext, FileAccess.Read));
}
foreach (var s in streams)
{
images.Add( System.Drawing.Image.FromStream(s, true, true));
}
Reza Oruji 17-Sep-13 0:57am View    
thanks,so a list of Stream and a a list of Image. how about this ?