Tuesday, 26 April 2016

Upload Files in C#.Net

Upload files in .Net Windows Application (c#.net)

OpenFileDialog open = new OpenFileDialog();
            open.Filter = "BMP Image|*.bmp";
            if (open.ShowDialog() == DialogResult.OK)
            {
                textBox1.Text = open.FileName;
                pictureBox1.Image = new Bitmap(open.FileName);
            }

No comments:

Post a Comment