private void button1_Click(object sender, EventArgs e)
        {
            clear_Controls();
            string value = CboVideos.Text;

            video = VideoDB.Select_by_Video_Name(value);
            if (video != null)
            {
                display_imageData();
                Display_video();
            }
            else
            {
                MessageBox.Show("The video does not exist", "Video Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
 public void display_imageData()
 {
     try
     {
         string value = CboVideos.Text;
         video = VideoDB.Select_by_Video_Name(value);
         Image image;
         if (video.ImageData != null)
         {
             MemoryStream memstr = new MemoryStream(video.ImageData);
             image = Bitmap.FromStream(memstr);
             image = RezieImageClass.ResizeImage(image, 230, 191);
             PicBVideoImage.Image = image;
         }
         else
         {
             MessageBox.Show("No Image was entered for this movie", "Image Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         }
     }
     catch (NullReferenceException ex)
     {
         MessageBox.Show("No Image was entered for this movie", "Image Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }