Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello everyone, i am developing an application where i am attaching a checkbox to a gridview (in this gridview I am retreiving images from the database)...i want to attach a checkbox in gridview to select the image and when clicking the delete button in the page..images get deleted...plz help...
if someone who has worked wih images and gridview, plz help
Posted
Updated 2-Feb-11 5:49am
v2

1 solution

Adding a checkbox to gridview:

http://www.asp.net/data-access/tutorials/adding-a-gridview-column-of-checkboxes-vb[^]

Deleting a row:

http://msdn.microsoft.com/en-us/library/ms972940.aspx[^]

there are many more examples on internet, look at them but these two will give you at least a start. :)
 
Share this answer
 
Comments
RKT S 2-Feb-11 12:10pm    
hey manas..actually in an asp page i am displaying all the images stored in database in gridview and in this gridview i am attaching the checkbox and a delete button on the page..now the problem is with the way am retreiving the images from the database ...so can u help me with this i.e how to retreive image from database and display it in gridview
Manas Bhardwaj 2-Feb-11 12:16pm    
have a look at this : http://www.beansoftware.com/ASP.NET-Tutorials/Images-Database.aspx
RKT S 2-Feb-11 12:16pm    
also manas i more problem s der tat wen am adding the checkbox and retreving images from database image content and checkbox merge in one column...so do hav any idea how to avoid this condition..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900