Hi
Can you plz help me with removing a image uploaded frm picture box. With a button_click event
Hi
Can you plz help me with removing a image uploaded frm picture box. With a button_click event
Wouldn't it just be:
myPictureBox.Image = null;
?
Just remember if the image doesn't disappear try
PictureBox.Refesh()
on a delete button click . just find the picture by finding file throurgh server.mappath.
then check if(hasfile)
{
file.delete.
}
and refresh the page.
imageName.Image=null;
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.