Re: Data Type for a CheckBox
- From: "BigAl" <BigAl@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 2 Sep 2005 08:59:19 -0700
"Christof Nordiek" wrote:
> "BigAl" <BigAl@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
> news:C0345446-1547-4703-9770-316C43B17DCC@xxxxxxxxxxxxxxxx
> >I am using a SQL server database and am using a Check Box on my .aspx
> >screen.
> > What data type should I use when I design my table? I tried bit but When
> > I
> > ran the program and Checked one of the check boxes I got a msg: True is
> > not a
> > valid value for int16. I changed the data type to small int, re-ran the
> > program, checked the box and got: Entered value cannot be converted to
> > int16.
>
> Hi BigAl,
>
> it shuold work with datatype bit in SQL Server and Boolean in the DataSet!!
> Hope that helps
>
>
>
Thanks...As it turned out, I was doing everything right but had other
issues...stuff that drives programmers crazy. I was mixing controls from dev
express and asp.net and using a dev express datacontroller. aspx.net
controls don't mix well with a dev express datacontroller.
.
- References:
- Data Type for a CheckBox
- From: BigAl
- Re: Data Type for a CheckBox
- From: Christof Nordiek
- Data Type for a CheckBox
- Prev by Date: String to have hard return to multi line text box
- Next by Date: problems when maximizing a datagrid
- Previous by thread: Re: Data Type for a CheckBox
- Next by thread: RE: NetworkStream tcp error
- Index(es):
Relevant Pages
|