I have a web application for video upload and play.The administrator can upload and users can view the uploaded files.I am automatically populating links from database to a repeater.My target is the administrator can delete the uploaded file.The file also delete from the database.I am using SQl experess and VS2005 .How can i do this?
I have a web application for video upload and play.The administrator can upload and
Share
Put a button or any other control you like, and set for this button the command name property equal “delete” for example, put any id in the command argument property to know which row you will delete, and in the repeater ItemCommand event check for this command name then do the delete function.
Example:
Delete Code will be something like this: