Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP checkbox
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 11-Nov-11 0:57am
Comments
DaveAuld at 11-Nov-11 11:58am
   
I'm a bit lost with what you are trying to do.........
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

i have gone with a different method but thank you all for your suggestions
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

What do you mean by 'changing the activity of the column'?
what exactly do you want to do?
  Permalink  
Comments
reid0588 at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 279
1 Maciej Los 168
2 George Jonsson 154
3 Sarvesh Kumar Gupta 130
4 Dave Kreskowiak 130


Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 17 Nov 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid