byte[] ProductImage = (byte[])(dtImage.Rows[0]["VideoFile"]); string filePath = @"\My Documents\My Videos\Video1.WMV"; using (System.IO.FileStream writeStream = new System.IO.FileStream(filePath, System.IO.FileMode.CreateNew, System.IO.FileAccess.Write)) { writeStream.Write(ProductImage, 0, ProductImage.Length); writeStream.Close(); } Process.Start(@"windows\wmplayer.exe", filePath);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)