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 Sergey Alexandrovich Kryukov 588
1 George Jonsson 258
2 CPallini 200
3 OriginalGriff 174
4 Shemeemsha RA 140
0 OriginalGriff 5,985
1 Sergey Alexandrovich Kryukov 5,341
2 CPallini 4,760
3 George Jonsson 3,400
4 Gihan Liyanage 2,522


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100