15,905,566 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.
Member 8956437
29-May-12 9:44am
View
Yes, i have 2 items in that list.
Member 8956437
28-May-12 5:10am
View
Nevermind i had an error in the connection string, thanks for everything
Member 8956437
28-May-12 4:57am
View
Thats what i've been trying, but i keep getting an error :
Server Error in '/WebSite' Application.
Invalid object name 'servidores'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'servidores'.
Servidores is my Table name.
Member 8956437
28-May-12 4:40am
View
Sorry about that, i just improved the question
Member 8956437
25-May-12 13:08pm
View
I cant remeber if i changed anything in th code, but before that it looked like a normal Bar Chart, something like http://www.highoncoding.com/articleimages/bar_graph.png
Member 8956437
24-May-12 13:02pm
View
I dont have any code in the aspx.cs.
Member 8956437
24-May-12 11:14am
View
ok, but im using Top 5 and i needed to also use de Order By DESC, so i can select the latest data.
Member 8956437
24-May-12 11:14am
View
Deleted
ok, but im using Top 5 and i needed to also use de Order By DESC, so i can select the latest data.
Member 8956437
24-May-12 9:05am
View
That example is not exactly what i was looking for, i need to use the Order By in each of my Selects
Member 8956437
24-May-12 7:57am
View
I've tried that but its not workig, nothing that i put in Page_load works.
Member 8956437
24-May-12 7:53am
View
Yes your right, but im using Union aswell and order by is not working
Member 8956437
24-May-12 7:20am
View
What if the Values are in the same table, but in diferent Columns
Member 8956437
24-May-12 7:20am
View
What if they are in the same table?
Member 8956437
24-May-12 5:24am
View
I put that in protected void Page_Load(object sender, EventArgs e) and its not working. Im kinda new to Aspx an Aspx.Cs
Member 8956437
24-May-12 4:56am
View
I see, thank you, but how do i apply that to Aspx?
Member 8956437
23-May-12 10:46am
View
Thank you, the autopostback worked.
Member 8956437
23-May-12 10:46am
View
The autopostback property fixed my problem thank you very much.
Member 8956437
23-May-12 10:42am
View
Thank You, but i already had that part figured out, now the part to fetch data from sql server is a bit harder to me, maybe you can give me a hand.
Member 8956437
22-May-12 10:03am
View
yeah, i missed that thanks .
Member 8956437
21-May-12 12:28pm
View
Thanks.
Whats that stored procedure?
Member 8956437
21-May-12 10:37am
View
Its just that, i get that error only by writting that code. I will provide a ScreenShot.
Member 8956437
18-May-12 6:45am
View
Thank you, its working now.
Member 8956437
14-May-12 4:31am
View
I've seen that article, maybe you can help me find that DynamicInstaller .
Member 8956437
14-May-12 4:30am
View
The service im working on is a resource monitor, and i did it from scratch
Member 8956437
11-May-12 10:22am
View
That window pops up when im trying to install the C# Service,and i wanted to know if its possible to set some default values on that window.
Member 8956437
11-May-12 7:03am
View
I mean this window : http://www.codeproject.com/KB/cs/DynWinServiceInstallUtil/SetServiceLogin.gif
Member 8956437
10-May-12 13:22pm
View
I have tried that, but still having the same problem, the message box still appears in the installation with empty textboxes, i have thought about one of two solution, either manipulate that message box in order to show up with some values already typed, or already defined username and password in the code.
Show More