|
...trying to sort out why a list was in the wrong order.
The data comes from a DataGridView, and it's SelectedRows property, and I use Linq methods to process this (eventually) into a comma separated string (ready for a columns list in an SQL statement).
And no matter what I did, it was always backwards: last selected column name first. Now, I know that SelectedRows is returned in "last first" order, that's what I want. So I use Reverse..and nothing changes.
Pull hair, puzzle, change, run, check MSDN, run, puzzle, repeat...realize that's the wrong damn method, that one gets the table names...
Oh...swear words.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
No programming questions in the Lounge... Try Stackoverflow
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
I just read, "Want half hour back"
|
|
|
|
|
No question mark in there -> not a question -> not a programming question -> All is good and well.
Ciao,
luker
|
|
|
|
|
Logic also applies to many of the posts in Q&A
|
|
|
|
|
Indeed. There tend to be more "?" in the comments section then in the actual question.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Yes
|
|
|
|
|
Johnny J. wrote: Stackoverflow
Evil Overlord Griff, It was Johnny J. he swore, he said StackOverflow
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Ready the Shark Pit, minions!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
For the record... what language was this written in?
This is soooo ripe......
|
|
|
|
|
C#
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
|
"It will be closed on Sundays and Bank Holidays"
Yes - like everything else! (And don't forget it's Early Closing on Wednesday)
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
|
You beat me to it.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
|
Hi All,
I know there are several Cyclist regulars here so you maybe able to answer the question, on my walk to (& from) work I usually walk past a cycle path in which none of the cyclists use. It is on the side of a (at times busy) road. Having walked up & down this road both day & night I can say for certain that cyclists use the foot path not the cycle lane. Also in town/shopping areas a lot of the locals ride in pedestrian areas and view pedestrians as either viable targets to run down or an inconvenience (tends to be hip youngsters). The worst however are the "I'm riding to save the earth type" you point out to them that the bike they are riding is made from very polluting alloys, the fact that the lycra outfit is made form oil... the best thing they could do is walk get greeted by the "I haven't got time", just thinking... (all right I flatten by a cyclist this morning and letting the venom out )
|
|
|
|
|
I do use the cycle lane if available (and in a decent state). If the cycle lane is not available or practicable, I just ride on the road. I never ride in the foot path.
As runner, however, I often invade the cycle path.
Veni, vidi, vici.
|
|
|
|
|
Cyclists are to road users what cats are to humans: evil.
Unless you are a cyclist, in which case Everyone not riding a bicycle are to road users what cats are to humans: evil.
Oh, and yes, cats are evil anyway.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
I guess you have been run over by a cat.
|
|
|
|
|
... a cat riding a bike ...
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
Well I have been caught by a Cat riding a bike (to be more accurate) a human holding a cat (which had it's paws on the handle bars...)
|
|
|
|
|
Isn't it odd how many people rant against cyclists whenever they see one doing something wrong on the road? And yet we almost never hear similar tirades against motorists, who regularly drive at 30-40% above the speed limit down the road where I live, park on the pavement, jump red lights, fail to stop at pedestrian crossings, etc., etc. Or the pedestrians who step out in front of me when I'm riding (legally) on the road on my bike?
And, for the record, I regularly walk, cycle, and drive (motorbike and car). And probably break the odd rule.
|
|
|
|
|
Richard MacCutchan wrote: who regularly drive at 30-40% above the speed limit [etc...]
They do because they can
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
Yeah. There are some dicks in every form of transport but cyclists seem to be grouped together in a way that pedestrians and motorists aren't.
That said, riding on the road is not being a dick, it's an entirely legitimate thing for a vehicle to do, and cycle paths are typically terrible and badly maintained.
|
|
|
|