I need to make temp file and then open it with Windows default photo viewer app but I don't know how; Can anyone help me please?
I know I can use a PictureBox
in a Form
but I want my app have the ability to use Windows photo viewer.
int GridID = Convert.ToInt32(dg_ImageList.CurrentRow.Cells[0].Value);
var query = objDB.Tbl_Image.Find(GridID).Image;
temp file =Image.FromStream(new MemoryStream(query));
Process.Start();