A
aspnoob
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 ?
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 ?