9,868,710 members (38,355 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
30,764 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 616
Page Size:
10
·
25
·
50
Author filtered by: OriginalGriff
[x]
Syntax error (missing operator) in query expression 'emp.emp_id ='.
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
You appear to have no value at all in eid, so the string just evaluates to:DELETE emp.*, emplogin.* FROM tbl_employee_details as [emp] LEFT JOIN tbl_user_login_access as [emplogin] ON emp.emp_id = emplogin.emp_id where emp.emp_id =SQL quite rightly throws a hissy fit and complains.Check...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Chris Huhne - Out of Prison
by
OriginalGriff
Forum Message
14 May 2013
That's not an open prison. Open sewer, in places1. But not technically a prison. 1 I am thinking specifically of parts of Paris whi
General Discussions
»
The Soapbox
Re: Darwin Awards contender?
by
OriginalGriff
Forum Message
14 May 2013
Very appropriate IMHO! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Soapbox
Re: Peacock 'pest': David Beckman...
by
OriginalGriff
Forum Message
14 May 2013
And for once, not pinin' for the fjords. ;) The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Soapbox
Re: It's too friggin' easy...
by
OriginalGriff
Forum Message
14 May 2013
But then we get questions like "I guessed the answer, but why is 2 + 2 equal to a fish? I don't understand. SND CODZ URGNTZ" If only because most of 'em can't get the damn question right when it's
General Discussions
»
The Soapbox
Re: Chris Huhne - Out of Prison
by
OriginalGriff
Forum Message
14 May 2013
We have Prescoed, which seems to appear on the local news with another missing prisoner so often there is speculation it should have it's own programme... :laugh: The uni
General Discussions
»
The Soapbox
Public variable invoking incorrect result
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
You will. The clue is in the word new: ThanglishToTamilGUI tt = new ThanglishToTamilGUI(); String apper = tt.anz;Since you create a new instance, it will not have the values that the user entered into a different instance!Try just using the current value! Have a look at...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
.NET4
Plagiarism is never a good idea...
by
OriginalGriff
Forum Message
14 May 2013
Taken from a variety of places, including Stack overflow: http://stackoverflow.com/questio
General Discussions
»
Article "Database Operation"
Modify an existing xml
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
An XML file normally has a header line such as you describe - it is optional, but recommended, and XDocument always adds it when you use the Save method.If it really disturbs you, you need to use an XmlWriter instead - it has an option to turn it off. XDocument doc = new...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Not a good idea, perhaps
by
OriginalGriff
Forum Message
14 May 2013
Is it a good idea to open miscellaneous files you receive by email? Particularly if you have no idea what type it is (and presumably no idea what it does either)? Or would it be better to go back t
General Discussions
»
Tip/Trick "Tip On How To Open A File With Unknown Extension"
vb console application
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
"is it posible to take reference to c#."Yes. You can use assemblies from any .NET language in any other .NET language."how to get dll or reference file."Right click your project, and select "Add Reference". It's pretty obvious from there, but the exact details will depend on your...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Remove unwanted payment folder from nopCommerce
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
"ok but please give me url of page where i can ask question ."You mean you can't find the "support" link all on your own? :WTF:Try here: http://www.nopcommerce.com/boards/default.aspx[^]Or here: http://www.nopcommerce.com/p/541/nopcommerce-premium-support-services.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Hamster's favorite TV show
by
OriginalGriff
Forum Message
14 May 2013
That's Ok - there is bugger-all on worth watching anyway! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
Re: Google Easter Egg
by
OriginalGriff
Forum Message
14 May 2013
Arggh, nooooo! My ears....bleep bloop, bleep bloop... :thumbsup: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
icici payament gateway (pay seal)
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Never, ever, accept code from a insecure website to handle anything to do with real money.You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
I can't build a derive class object!who can help me!
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Take the virtual off the methods in CCircle. Try override instead.Any class that contains a virtual function is abstract by definition.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Validation of login page-whats wrong with this code,its not working,please help me rectify my error
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Several things spring to mind:First off, you will only try to check details if the pasword is not blank - if the username is blank, you will check anyway. There are also better ways to check for empty stringsTry this:private void button1_Click(object sender, EventArgs e) { bool...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Swapping between Windows forms
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Try Show instead of ShowDialog - it doesn't wait for the form to close before continuing.You might want to add the Form.TopMost = True as well, and possibly add a FormClosing event handler so that you only show one form if the user requests it twice.
General Programming
»
Uncategorised Quick Answers
»
General
.NET
Re: 38 Years
by
OriginalGriff
Forum Message
14 May 2013
No, unfortunately yours is rather more repressive and unpleasant penal system than ours; ours is pretty free and easy, with TVs in cells, easy access to drugs and so on. "Human rights" and all that.
General Discussions
»
The Lounge
Re: Entity Frame work
by
OriginalGriff
Forum Message
14 May 2013
Good for you! Now, if you have a question, perhaps you might want to tell us what it is? The universe is composed of electrons, neutrons, protons and......morons. (The
General Programming
»
C#
Get data in dictionary order in sql server
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
Try:SELECT username FROM MyTABLE WHERE userName LIKE '%a% ORDER BY userName ASC
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
C#
.NET
C#4.0
database
.NET4
C# exception on sql subqueries
by
OriginalGriff
Answer
14 May 2013
license:
CPOL
First off, can I suggest that you only read the Sid and ContactId once per execution, and store them in a variable? Then ensure it returns only a single value:DECLARE @SID INTSet @SID = (SELECT TOP 1 Sid FROM MyTable WHERE Name=@Name)Then use the variable in each of your updates.
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
Exception
Not a tip
by
OriginalGriff
Forum Message
14 May 2013
Sorry, but if someone can't work that out for themselves in less time than it would take to find this document, they really have no place opening Visual Studio at all! It's a "No" from me.
General Discussions
»
Tip/Trick "Launch Visual Studio From Command Prompt"
Re: Plagiarism is never a good idea...
by
OriginalGriff
Forum Message
13 May 2013
Trouble is, when you pressed the "publish" button, you first ticked the box marked "I have read and agree to the Contributors Agree
General Discussions
»
Tip/Trick "Visual Studio Tool - Page Inspector Developer"
Re: Bug steak, anyone?
by
OriginalGriff
Forum Message
13 May 2013
Um. You do know where manure comes from, right? And what vegetables grow in? So think about it: not only has every drop of water you drink already been through probably 6 sets of human kidneys a
General Discussions
»
The Lounge
Re: MQOTD
by
OriginalGriff
Forum Message
13 May 2013
Total Remake. The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
Not an article
by
OriginalGriff
Forum Message
13 May 2013
I would normally suggest that you post it as a tip, but since the code is wide open to SQL Injection attack, I have to vote "No" instead. The universe is composed of elec
General Discussions
»
Article "Import And Export Csv To Using Php Mysql"
Re: Ever turned down a project because the clients code base is a mess?
by
OriginalGriff
Forum Message
13 May 2013
Not turned down, no - but I do put the price up. Only had it twice: once with some very old, very bad Basic (pre VB!) which was to be converted to Windows via VB. Horrible code, horrible job - Ende
General Discussions
»
The Lounge
Re: Boiling eggs
by
OriginalGriff
Forum Message
13 May 2013
I just let 'em grow up, and then eat 'em when that are properly ready... The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
The Lounge
Re: Not an article
by
OriginalGriff
Forum Message
13 May 2013
I can't at the moment, I'm on my tablet, and its as much of a pain to do on that as for your phone! :laugh: Post a request here:
General Discussions
»
Article "Asp.Net And Paypal With Dynamic Ordering Values"
Re: Not an article
by
OriginalGriff
Forum Message
13 May 2013
When you change it over, it'd be an idea to sort the fonts out - it looks odd with different sizes, try to just use the standard one! :laugh: The universe is composed of
General Discussions
»
Article "Asp.Net And Paypal With Dynamic Ordering Values"
Re: Missed Option
by
OriginalGriff
Forum Message
13 May 2013
Well I'm not going if I can't bring the wife! The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Survey "What Is Your Favourite Phase Of Software Development?" (13 May 2013)
Not an article
by
OriginalGriff
Forum Message
13 May 2013
Have you considered posting it as a Tip instead? The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Article "Asp.Net And Paypal With Dynamic Ordering Values"
Re: You gotta be kidding... You voted this 5 stars?
by
OriginalGriff
Forum Message
13 May 2013
;) The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Article "Converting Numbers To The Word Equivalent. "
Re: You gotta be kidding... You voted this 5 stars?
by
OriginalGriff
Forum Message
13 May 2013
:laugh: :thumbsup: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
General Discussions
»
Article "Converting Numbers To The Word Equivalent. "
can i connect to sql server 2008 r2 with visual studio 2012 Express
by
OriginalGriff
Answer
13 May 2013
license:
CPOL
Yes. But read this: http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/586c2599-347e-489e-863c-79ae6ce7b9c1[^] - you can get problems if you install them in the wrong order. (I did, with VS2008 years ago and it took me a day to sort the mess out)
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Half Day
by
OriginalGriff
Forum Message
13 May 2013
You'd think it was a bad idea, wouldn't you? Especially as they both can do liver damage... That turns out not to be the case: http://www
General Discussions
»
The Lounge
Re: No ship should go down...
by
OriginalGriff
Forum Message
13 May 2013
The picture isn't a spoiler though - it's nothing they haven't shown on the trailers all over the TV. The universe is composed of electrons, neutrons, protons and......mo
General Discussions
»
The Lounge
Re: Half Day
by
OriginalGriff
Forum Message
13 May 2013
Use to wash down a couple of paracetamol as well - they lower your temperature and that helps a lot. The universe is composed of electrons, neutrons, protons and......mor
General Discussions
»
The Lounge
Re: No ship should go down...
by
OriginalGriff
Forum Message
13 May 2013
CDP1802 wrote:I can't believe that nobody here has seen the movie. Nor can I:
General Discussions
»
The Lounge
Re: Chris Huhne - Out of Prison
by
OriginalGriff
Forum Message
13 May 2013
Not only that, but most of the eight weeks was spent in an open prison, which is more like a bed and breakfast you can't leave than a prison. The universe is composed of
General Discussions
»
The Soapbox
Time to pig out!
by
OriginalGriff
Forum Message
13 May 2013
It's National Doughnut Week[^] - so now we have an excuse to sc
General Discussions
»
The Lounge
Re: My Two-Cents on: How to handle (yourself around) the kids
by
OriginalGriff
Forum Message
13 May 2013
I don't have kids, but I've seen it with friends. One couple were terrible: "No sweets for a week!" was the common punishment, which was forgotten the next day...and they always wondered why the kids
General Discussions
»
The Lounge
Plagiarism is never a good idea...
by
OriginalGriff
Forum Message
13 May 2013
Copied from here: http://abhijitjana.net/2011/10/12/few-nice-features-in-vis
General Discussions
»
Tip/Trick "Visual Studio Tool - Page Inspector Developer"
explicit value for the identity column
by
OriginalGriff
Answer
13 May 2013
license:
CPOL
If you declare a column as Identity = true, then SQL will handle the values and will assign them sequentially so that you cannot get repeats. If you try at any time to set the value of that field via an INSERT or UPDATE operation, SQL will throw that exception.The most common mistake is to...
General Programming
»
Uncategorised Quick Answers
»
General
C#
RegularExpresion for accepting only special characters into textbox
by
OriginalGriff
Answer
13 May 2013
license:
CPOL
Try:^\W+$
General Programming
»
Uncategorised Quick Answers
»
General
C#
WPF
Re: This week's survey: What is your favourite phase of software development?
by
OriginalGriff
Forum Message
13 May 2013
:thumbsup: If you don't document as you go along, you won't go back and do it (most of the time you aren't given any time to go back and do documentation once the product is out).
General Discussions
»
The Lounge
Working with writer/reader MiFare
by
OriginalGriff
Answer
13 May 2013
license:
CPOL
You should talk to the people who created it - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back! Start here: http://www.mifare.net/[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
how delete data in sqlite
by
OriginalGriff
Answer
13 May 2013
license:
CPOL
Try:DELETE FROM MyTable WHERE regno=1See also: http://www.sqlite.org/lang_delete.html[^]
General Programming
»
Uncategorised Quick Answers
»
General
C
Mobile
iPhone
Objective-C
iOS
Re: Why Farcebuck will make a profit
by
OriginalGriff
Forum Message
13 May 2013
Ah. Flags...yes...I'd forgotten about that one... Trouble is so are so inviting, sitting there at the top of flagpoles... I've still got mine, somewhere - it was always a bit too big to use. :laugh:
General Discussions
»
The Lounge
Page 1 of 616
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid