I am basically trying to write a piece of c# that works with a current project I am working on, the idea behind it is that it will be a tickbox that may be ticked and when it is ticked it will write to a database that a certain image on the page should be written (doesn’t have to use the writing to db part if theres a better way to do it)
Share
Assuming this is ASP.Net, you could use a
Paneland hide the image when the checkbox isn’t checked:And in the code behind: