15,915,508 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 wolfsor (Top 16 by date)
wolfsor
15-Jul-12 11:53am
View
thanks!
wolfsor
15-Jul-12 11:53am
View
Thank you very much for your help. I don't have enough experience in programming and it gets really frustrating for me to work out these codes. Very much appreciated your help!
wolfsor
9-Jul-12 0:35am
View
I've tried this one and it still validates the length of the disabled telephone number textbox.
wolfsor
3-Jul-12 3:48am
View
how do you add WHERE ProductNo=@Pno
wolfsor
28-Jun-12 4:24am
View
"There is already an open DataReader associated with this Command which must be closed first." I added "rdr.close();" to close it
wolfsor
27-Jun-12 11:22am
View
do you know how to fix that?
wolfsor
27-Jun-12 11:21am
View
This code works after selecting an item in the combo box, but when I change a selected item, I get an error
wolfsor
1-Jul-11 5:46am
View
Where do I put the code to make the textbox visible after checking the textbox?
wolfsor
10-May-11 3:07am
View
Oh yes. I think I need to update database table to make OrderStatus as paid, yes?
wolfsor
10-May-11 3:02am
View
windows form
wolfsor
10-May-11 2:38am
View
thanks!
wolfsor
20-Dec-10 5:46am
View
can you cite an example?
wolfsor
20-Dec-10 2:43am
View
what's the difference between Int16 and Int32?
wolfsor
13-Dec-10 5:36am
View
I have just updated the question.
wolfsor
11-Dec-10 4:39am
View
I'm sorry... i have just updated the question
SqlCommand cmd = new SqlCommand();
cmd.Connection = cn;
cmd.CommandType=CommandType.Text
cmd.CommandText= "SELECT * FROM Orders2 WHERE Monthname = '" + textBox1.Text.ToString() + "' AND '" + textBox2.Text.ToString() + "'"
wolfsor
11-Dec-10 4:29am
View
can I use this code?
is the code correct?
SqlCommand cmd = new SqlCommand();
cmd.Connection = cn;
cmd.CommandType=CommandType.Text
cmd.CommandText= "SELECT * FROM Orders2 WHERE Monthname = '" + textBox1.Text.ToString() + "'
Show More