Last post Dec 23, 2009 07:35 AM by tugberk_ugurlu_
Dec 23, 2009 05:13 AM|tugberk_ugurlu_|LINK
Hi ! I am using datalist to view my project. My datasourcecode is as follows;
<asp:AccessDataSource ID="AccessDataSource1" runat="server"
SelectCommand="SELECT [ID], [Description], [HeadTitle], [View] FROM [Hotels] ORDER BY [ID]">
View column is a boolean. I am trying to write a code which enables me to view only where the view column is selected. I tried 1, yes, not null but don't work. I have been searching but nothing has come up.
Dec 23, 2009 06:53 AM|shabirhakim1|LINK
A data field is referred to as Boolean when it can assume only one of two values. It can be either Yes or No, True or False, On or Off, non-zero or 0. Such a field is appropriate when you want the user to indicate the state of a value.
There are various ways you can set up a field for Boolean values:
so go here ans see how practically it is done
Dec 23, 2009 07:35 AM|tugberk_ugurlu_|LINK
Thanks a lot ! The value is true/false. Thanks !