Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: have asp.net page with checkbox,- how to store in SQL bit type?


Message #1 by sg48@y... on Wed, 16 Oct 2002 14:01:38
SQL bit datatype is the same as C# and VB.NET boolean data type.





sg48@y... on 10/16/2002 09:01:38 AM

Please respond to "ASPX_Professional" <aspx_professional@p...>

To:   "ASPX_Professional" <aspx_professional@p...>
cc:

Subject:  [aspx_professional] have asp.net page with checkbox,- how to
      store in SQL bit type?

I have an aspx page with form that contains a check box. The contents of
this form are being
submitted to a SQL Server 2000 database. The field in the database
associated with the check
box is of data type  "bit". How do I convert the checkbox value to
something acceptable to
SQL? TIA
---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.

---








  Return to Index