Introduction - If you have any usage issues, please Google them yourself
Upload Images Using C#
System.Drawing.Image image = Clipboard.GetImage()
if (image != null)
{
System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(image)
int i = DateTime.Now.Millisecond
string filename = "pic"+ i+ ".jpg"
string path = @"d:\stu\DemoTest09\DemoTest09\update_gif\"+ filename
bitmap.Save(path)
TextBox1.Text = path
img1.Src = @"./update_gif/"+ filename
Image1.ImageUrl = @"./update_gif/"+ filename
image2.Src = @"./update_gif/"+ filename
aid01.HRef = @"./update_gif/"+ filename
}