Home All Groups Group Topic Archive Search About

Looking for VB.NET sample code: radio button list, check boxes

Author
14 Oct 2006 5:14 AM
dogrady
<newb alert on>

Having no luck figuring out how to make a radio button list work on a
web form (working against a SQL server).  If someone could point me to
some sample code I would really appreciate it.

Use: basically a survey form (along the lines of "Favorite Color",
three radio buttons, and being able to enter the data on one form, then
view/edit existing entries on a second.

Looking for the same thing on check boxes, but hoping the code for one
will relate to the other.

Thanks in advance
D

Author
14 Oct 2006 1:42 PM
Jon Paal
http://msconline.maconstate.edu/tutorials/default.aspx


Show quote Hide quote
<dogr***@my-deja.com> wrote in message news:1160802868.010471.3890@f16g2000cwb.googlegroups.com...
> <newb alert on>
>
> Having no luck figuring out how to make a radio button list work on a
> web form (working against a SQL server).  If someone could point me to
> some sample code I would really appreciate it.
>
> Use: basically a survey form (along the lines of "Favorite Color",
> three radio buttons, and being able to enter the data on one form, then
> view/edit existing entries on a second.
>
> Looking for the same thing on check boxes, but hoping the code for one
> will relate to the other.
>
> Thanks in advance
> D
>
Author
15 Oct 2006 5:45 AM
Dave
Jon   Paal wrote:
Beuno - thanks for this. If you're willing to provide some theory help
- when should I be doing this through VS.NET (2003) on the form itself,
and when is the work instead in the HTML of the page itself?  Are there
things that must be done in the HTML (like radio buttons) - and is
there a way to tell where the code should go?

Thanks again
D