473,379 Members | 1,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Can someone please reply me regarding CHECKBOXLIST QUESTION!

Relating to this link:-
http://authors.aspalliance.com/aspxt...s/ListItemClas
sSelected.aspx
Its written that the ListItem.Selected returns TRUE or FALSE as Boolean
Value.
But when i select a CheckBoxList it returns TRUE when selected. But when
nothing is selected it returns Nothing(I meani don't see FALSE!)
But iwht CheckBox it returns both when i use the CHECKED property.
Is there a way for CheckBoxList to return FALSE to the screen I MEAN to
PRINT out FALSE!!!!
Nov 19 '05 #1
6 848
you are not going to get answers by shouting

Nov 19 '05 #2
Use the .ToString method.

"Patrick.O.Ige" <pa********@optusnet.com.au> wrote in message
news:eq*************@TK2MSFTNGP15.phx.gbl...
Relating to this link:-
http://authors.aspalliance.com/aspxt...s/ListItemClas
sSelected.aspx
Its written that the ListItem.Selected returns TRUE or FALSE as Boolean
Value.
But when i select a CheckBoxList it returns TRUE when selected. But when
nothing is selected it returns Nothing(I meani don't see FALSE!)
But iwht CheckBox it returns both when i use the CHECKED property.
Is there a way for CheckBoxList to return FALSE to the screen I MEAN to
PRINT out FALSE!!!!

Nov 19 '05 #3
I wasn't shouting!

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #4
Thx

"Random" wrote:
Use the .ToString method.

"Patrick.O.Ige" <pa********@optusnet.com.au> wrote in message
news:eq*************@TK2MSFTNGP15.phx.gbl...
Relating to this link:-
http://authors.aspalliance.com/aspxt...s/ListItemClas
sSelected.aspx
Its written that the ListItem.Selected returns TRUE or FALSE as Boolean
Value.
But when i select a CheckBoxList it returns TRUE when selected. But when
nothing is selected it returns Nothing(I meani don't see FALSE!)
But iwht CheckBox it returns both when i use the CHECKED property.
Is there a way for CheckBoxList to return FALSE to the screen I MEAN to
PRINT out FALSE!!!!


Nov 19 '05 #5
Of course you weren't Patrick. It's very hard to type while shouting,
especially without making any typos.

--
;-),

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Patrick Olurotimi Ige" <na********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I wasn't shouting!

*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #6
Kevin Spencer
Was i shouting?
It was impossible:)

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: J. Yuan | last post by:
Hi, I am working on a checkout/inventory system. How can I make a button that when pressed, would update the previous fields transaction number to a table (for example, -3 printers, so that...
23
by: Jason | last post by:
Hi, I was wondering if any could point me to an example or give me ideas on how to dynamically create a form based on a database table? So, I would have a table designed to tell my application...
0
by: Bryce Budd | last post by:
Hello All, I've been a taker of information from newsgroups for a long time and thought I'd finally make a contribution back to the community whose supported me when I've needed it. After all...
4
by: Shaul Feldman | last post by:
Hello, I have something really awkward at work - fighting with CheckBoxList... How can I define CSS for ListItem in CheckBoxList programmatically. I add CheckBoxList's Items on the fly, something...
5
by: Eirik Eldorsen | last post by:
I'm trying to code a reapter that for each listelement show a checkboxlist. I'm almost there. The only thing I can't figure out is how to set the ID of the checkboxlists. This is my code:...
4
by: Patrick.O.Ige | last post by:
I have a CheckBoxList in a DataList and i'm trying to get item Selected after doing a postBack. I have set my CheckBoxlist AutoPostBack="True" Any ideas what 'm doing wrong? It seems not to...
3
by: Stephen | last post by:
Hi, I have a question on checkboxlist, suppose I have a checkboxlist and has listitems like USA Canada UK Germany Australia Suppose I have a resultset that has values (USA, UK and Australia)
0
by: Jai | last post by:
Hi, Somebody please tell me how to bind(two way) a checkboxlist with objectdatasource if the checkboxlist is inside a formview..... Code of FormView is like this::--- <asp:FormView...
2
by: clintonG | last post by:
When selected="true" is declared in the CheckBoxList ListItem FireFox does not display checked list items. Even more curious is the absence of the checked="checked" attribute in the source which is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.