Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / August 2003

Tip: Looking for answers? Try searching our database.

SelectionList Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sanjay Sood - 17 Jul 2003 21:27 GMT
Hi,

I am having trouble with the SelectionList control.  I am binding the
datasource to a Access OleDbDataReader.  The data shows up properly in the
dropdown menu.  The problem arises when trying to capture the user's
selection by using SelectedIndex.  For some reason it is always
returning -1.  I tried to manually add items (using Items.Add) and
SelectedIndex works fine.  Is there a bug related to using this type of data
binding?

Thanks,

_sanjay
Ran - 12 Aug 2003 03:00 GMT
Hi..did you find out what the problem was??
I have a problem with my databound selectionlist..in my case i use the
item.selected function to find out which item is selected..it works if i
manually add items..but doesnt work when the selectionlist is databound..
Do let me know..

Ran

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.