Click here to Skip to main content
15,120,078 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi am currently working on a page that displays all the sites from a table. there is also a column that contains a checkbox on this page (siteactive column)

when the user checks a check box and then clicks save, it will change the activity of the column from true to false. however i cant seem to do this

i am using classic asp

any help is greatly appreciated
Posted
Comments
DaveAuld 11-Nov-11 11:58am
   
I'm a bit lost with what you are trying to do.........

What do you mean by 'changing the activity of the column'?
what exactly do you want to do?
   
Comments
reid0588 14-Nov-11 5:16am
   
i apologise for not being clar enough. I have a list that displays all sites that are set to active(1)(in the database this is a binary coloumn) which means that the site can be seen in the list (which is displayed in an html table) when the user ticks the checkbox that is next to the site name, and then hit the "save" button at the bottom, it would change the active (binary column) in the databse to 0 so that it will then not be displayed in the list.
all this is in classic asp
so you have a listbox control with names all the websites?
If so then How are u populating the listbox? you can send in a query to populate the box on basis of the binary column to display only websites that have the binanry column status as 1
   
i have gone with a different method but thank you all for your suggestions
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month



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