controlling output state of checkbox using ASP.net and SQL server05

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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 ?

.



Relevant Pages

  • Re: Lost text fields in merge
    ... Then I have it display with the merge data inserted. ... The form contains database fields that fill automatically, ... as checkboxes and text fields that have to be completed manually. ... filled in unless protection is left off. ...
    (microsoft.public.word.docmanagement)
  • Re: It works but can someone explain why the others dont?
    ... >When referring to checkboxes ... In VBA, the numeric value of True is -1. ... >1st Example that didn't display anything on the doc: ...
    (microsoft.public.word.vba.beginners)
  • checkboxes and update query
    ... I have a form/table with checkboxes that I would like the user to ... check / uncheck if they want a certain record to display in a gallery ... echo ''. ...
    (comp.lang.php)
  • datalist challenge
    ... I am trying to generate a datalist containing checkboxes. ... A company record ... separate datasource. ... How do I display a header template? ...
    (microsoft.public.dotnet.general)
  • RE: Help with Display Setting
    ... I suspect that the reason is that screen display settings that apply to ... But I don't know if he actually changes the display. ... traditional 96 DPI. ... All of the checkboxes and fill ins are dependant on this setting. ...
    (microsoft.public.excel)