Click here to Skip to main content
Page 1 of 616
Page Size: 10 · 25 · 50


Author filtered by: OriginalGriff [x]
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...
C#
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
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)
Forum Message 14 May 2013  
And for once, not pinin' for the fjords. ;) The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
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
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
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...
Forum Message 14 May 2013  
Taken from a variety of places, including Stack overflow: http://stackoverflow.com/questio
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...
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
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...
C#
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[^]
C#
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)
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)
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...
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.
C++
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...
C#
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.
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.
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
Answer 14 May 2013   license: CPOL
Try:SELECT username FROM MyTABLE WHERE userName LIKE '%a% ORDER BY userName ASC
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.
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.
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
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
Re: MQOTD by OriginalGriff
Forum Message 13 May 2013  
Total Remake. The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
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
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
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)
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:
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
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)
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)
Forum Message 13 May 2013  
;) The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Forum Message 13 May 2013  
:laugh: :thumbsup: The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
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)
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
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
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
Forum Message 13 May 2013  
CDP1802 wrote:I can't believe that nobody here has seen the movie. Nor can I:
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
Time to pig out! by OriginalGriff
Forum Message 13 May 2013  
It's National Doughnut Week[^] - so now we have an excuse to sc
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
Forum Message 13 May 2013  
Copied from here: http://abhijitjana.net/2011/10/12/few-nice-features-in-vis
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...
C#
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).
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/[^]
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[^]
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:

Page 1 of 616
1 2 3 4 5 6 7 8 9 10


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