?
Solved

checkbox in asp.net <asp:checkbox id="callback" runat="server" />

Posted on 2004-09-06
2
Medium Priority
?
707 Views
Last Modified: 2008-03-03
I have need a checkbox in asp.net vb, i have this so far:

in the body: <asp:checkbox id="callback" runat="server" />

but how to i work it out at the top, this is what i have for the other text boxes, but for some reason i can not get the checkbox one to work can someone help pelase!!!!!

  cmd.CommandText = "INSERT INTO members (title, first_name, last_name, company_name, house_number_name, street, address1, address2, town, postcode, telephone, fax, email, pass, web_address, sector, no_employees, hear_about_us, callback) VALUES ('" & title.Value  & "', '" & first_name.Value  & "', '" & last_name.Value  & "', '" & company_name.Value  & "', '" & house_number_name.Value  & "', '" & street.Value  & "', '" & address1.Value  & "', '" & address2.Value  & "', '" & town.Value  & "', '" & postcode.Value  & "', '" & telephone.Value  & "', '" & fax.Value  & "', '" & email.Value  & "', '" & pass.Value  & "', '" & web_address.Value  & "', '" & sector.Value  & "', '" & no_employees.Value  & "', '" & hear_about_us.Value  & "', '" & callback.Value  & "')"


0
Comment
Question by:pigmentarts
2 Comments
 
LVL 8

Accepted Solution

by:
razo earned 1500 total points
ID: 11988225
use callback.checked
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 11988363
thank you.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question