T
tshad
I tried to put multiple objects in one using statements like so:
using (fs = new FileStream(fromImagePath + "\\" +
(string)dr["originalFileName"],
FileMode.Open, System.IO.FileAccess.Read) , BinaryReader br = new
BinaryReader(fs))
But I get an error:
") expected"
Where the "," before the BinaryReader is.
Plus some "; missing" messages.
But this is how MSDN says to do it.
What am I missing here?
Thanks,
Tom
using (fs = new FileStream(fromImagePath + "\\" +
(string)dr["originalFileName"],
FileMode.Open, System.IO.FileAccess.Read) , BinaryReader br = new
BinaryReader(fs))
But I get an error:
") expected"
Where the "," before the BinaryReader is.
Plus some "; missing" messages.
But this is how MSDN says to do it.
What am I missing here?
Thanks,
Tom