controlling output state of checkbox using ASP.net and SQL server05
- From: "aspnoob" <u28098@uwe>
- Date: Fri, 20 Oct 2006 10:39:14 GMT
hello i just started off with asp.net , needed some help on how to display
the state of checkboxes from a SQL database.
my database table has the following format
seat.dbo ( db design)
( column 1 PK ) id : 1 2 3 4 5 6
(column 2 boolean) state : 1 , 0 , 1 , 0 , 1 , 0
1 stands for checked , 0 uncheck .
i wish to display this checkbox state in 2 rows of 3
o o o
o o o
e.g.
with the code querying the db for the status of the checkboxes before
displaying the output to the user.
if the checkbox 1 , then the user will not be able to uncheck the checkboxes.
( i guess this is more than enough for me , with this example i probably will
be able to figure out how the insert using the checkbox works)
anyone can help ?
.
- Follow-Ups:
- RE: controlling output state of checkbox using ASP.net and SQL server0
- From: Milosz Skalecki
- RE: controlling output state of checkbox using ASP.net and SQL server0
- Prev by Date: Re: passing data between pages and querying a database in asp.net
- Next by Date: RE: Preventing Validation
- Previous by thread: How GMail works ?!?
- Next by thread: RE: controlling output state of checkbox using ASP.net and SQL server0
- Index(es):
Relevant Pages
|