Solved

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

Posted on 2004-09-06
2
670 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 500 total points
ID: 11988225
use callback.checked
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 11988363
thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now