Click here to Skip to main content
15,905,566 members

Comments by Member 8956437 (Top 32 by date)

Member 8956437 30-May-12 9:35am View    
im using the actual value from the listbox in some sql commands
Member 8956437 29-May-12 10:41am View    
Instead of using the datasource, i did it all by code, it looks like its working correctly now.
Thanks Ed
Member 8956437 29-May-12 10:28am View    
yeah, that should fix the problem.
Member 8956437 29-May-12 10:09am View    
Unless.. im using a listbox with a datasource selected, so it can show the values from a database, and in the aspx.cs i wrote the code above, maybe it is running the code first and then running the datasouc to add the values to the listbox.
Member 8956437 29-May-12 10:03am View    
I see what you mean, but when i open the web page i can see the items in the listbox, as you said, Listbox.items[0] should work correctly.