save picturebox image using c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramya naidu
    New Member
    • Sep 2007
    • 10

    #1

    save picturebox image using c#

    Hai friends i have cod eto draw and save picture in textbox and i need to save that image so iam using this code when i save the image and reopen it is not saving plz any one help me
    i have written this code under save in menustrip and i run code

    sfd.InitialDire ctory = System.Windows. Forms.Applicati on.StartupPath;
    sfd.AddExtensio n = true;
    sfd.Title = "Save an image file";
    sfd.Filter = "JPEG Files (*.jpg)|*.jpg|I mage Files(*.*)|*.*" ;
    sfd.ShowDialog( );
    bmpBack = new Bitmap(sfd.File Name);
    image.Image = (Bitmap)bmpBack .Clone();
    image.SendToBac k();
Working...