View Complete Post
I have a gridview on my page which is bound to an objectdatasource that gets Data from an Images Table in my database.
The delete button is enabled and I have this code in my DAL.
DELETE FROM [Images] WHERE (([ImageId] = @ImageId))
Instead of deleting just 1 image, I want to give a user the option to delete multiple images at once.
Any code showing how to do this in c sharp be grateful.
i m uploading the photo using file upload control.
now if i want to delete that photo from photo folder how can i do that?
can anyone help?
I have a web site that
you can upload images, the image path is saved in the ImgPath field
in the data database and retrieves the image and displays it in the
grid view. I want to be able to delete the image from a folder within my project
when I delete the record. I'm trying to delete it from the
Thanks for you help .
I apply a watermark to an uploaded image.
After that I want to save the changes, but I am not able to delete the original file nor can I rename it because I get the following error.
The process cannot access the file because it is being used by another process.
I have searched for a solution for 3 days but I haven't found any.
I have already disposed all objects related to the "watermarking process".
It seems that the uploaded file is being locked by IIS
for a period of time while I need to manipulate & save the file right after
Could you please help?
i need a gallary like following link.
actually,i bound multiple image in a gridview using handler(.ashx).
for example,in one dep_id(1),there are 6 image and i need to slideing one by one.
could some one help me,how i can do like this?
i think is it easy in jquery.
please someone help me.
i am binding images dynamically(back end)for a datalist .iam applying a slideshow for it .I am getting a problem to apply slideshow for dyanmically binded images.If the define in a div statically it working perfectly
for example pls go through my code below:
<div class="slideshow"> <img src="images/30_dummy.jpg" width="200" height="200" /> <img src="images/aquarius.gif" width="200" height="200" /> <img src="images/star.gif" width="200" height="200" /> <img src="images/the-proud-indian-flag-1.jpg" width="200" height="200" /> </div>
I above code works perfectly and the slide show e