Click here to Skip to main content
13,865,989 members

Comments by Chris Maunder (Top 200 by date)

Chris Maunder 4-Dec-18 12:14pm View
   
Unfortunately this isn't a question: It's a request for testing. You may want to post this in the Beta testing forum https://www.codeproject.com/Forums/1651/Collaboration-Beta-Testing.aspx
Chris Maunder 3-Mar-18 11:30am View
   
Interesting. Taking the combined least squares difference of the two lines, one anchored from the start, one at the end, and both terminating at their intersection would certainly give a workable solution. Seems a little brute force, but I'll give it a try.
Chris Maunder 27-Oct-17 16:39pm View
   
I was actually working on exactly the same piece of code he worked, had a problem with it, searched, and found this. I figured an extremely late 2c would do wonders to confuse the issue.
Chris Maunder 28-Apr-17 11:40am View
   
It's truly awesome
Chris Maunder 28-Apr-17 11:34am View
   
...and of course there's an article about it! /slaps head. To be fair, the given problem is more general than that article.
Chris Maunder 21-Apr-17 17:17pm View
   
Just for that I added BASIC syntax colourising
Chris Maunder 21-Apr-17 17:17pm View
   
Deleted
Just for that I added syntax colourising for BASIC
Chris Maunder 21-Apr-17 9:39am View
   
Son of a...! I should have checked :)
Chris Maunder 12-Mar-17 23:30pm View
   
If this becomes something where I have to sit down and fully test each solution, time them, verify their correctness, check for plagiarism and provide a point-by point independently verified set of judging criteria then I'm afraid I'll have to leave it to you guys to come up with the challenges and announce a "winner".

It's for fun. The judging is deliberately random and sometimes wildly biased.

How about we just leave this as a challenge and I forgo any attempt at declaring a winner. I want this to be fun, not something where it could potentially upset participants.
Chris Maunder 10-Mar-17 7:51am View
   
I was just about to ask you "how do we make this more of a spectator sport?".

A sidebar or maybe it's own page, but then we'd also need to promote that page. Lots of noise to fight against. I'm open to ideas and I'd like this to keep going and grow.
Chris Maunder 10-Mar-17 6:54am View
   
There's nothing against multiple solutions. What's needed is more voting to sort them.
Chris Maunder 24-Feb-17 10:54am View
   
This makes me want to add thumbs-up votes to comments ;)
Chris Maunder 17-Feb-17 22:15pm View
   
>now i see that coding chalenge has been changed into "How many programming languages you know?".
No - it's not that at all. A single answer is all I'm after. The single most *interesting* answer. The one that provokes the most discussion, the most praise, the most enjoyment. The one that shows someone stretched themselves a little more than the others. That's what it's about.
Chris Maunder 10-Feb-17 11:01am View
   
"With an extremely large input sequence, you could potentially get an OutOfMemoryException" Therein lies the challenge. The simple answer is easy. It's when things get a little crazy that separates the Men from the boys.
Chris Maunder 27-Jan-17 16:58pm View
   
Yes.
Chris Maunder 21-Jan-17 17:00pm View
   
Since when does a set not allow duplicates? A set of marbles can contain two marbles that are the same.
Chris Maunder 21-Jan-17 4:13am View
   
I said "a set of integers", not "a set of values of type int". I mean integers in the mathematical sense.
Chris Maunder 13-Jan-17 21:38pm View
   
Ah - looks like I;ll just have to wave languidly as I fly over on my way down south. Next time!
Chris Maunder 13-Jan-17 18:45pm View
   
You're in Melbourne still, right? I'm there in a week if you want a coffee (or maybe something cold)
Chris Maunder 13-Jan-17 9:20am View
   
?
Chris Maunder 13-Jan-17 8:57am View
   
Yeah - last minute change of mind + 3hrs sleep = doofus time.
Chris Maunder 11-Jan-17 16:25pm View
   
Deleted
Absolutely
Chris Maunder 11-Jan-17 16:25pm View
   
Absolutely
Chris Maunder 10-Jan-17 11:06am View
   
Majestic in its awfulness.
Chris Maunder 6-Jan-17 17:50pm View
   
This impressed me so much I added COBOL syntax colouring (missed LOCAL-STORAGE - will add next time)
Chris Maunder 6-Jan-17 10:30am View
   
You get half a point.
Chris Maunder 16-Dec-16 10:33am View
   
+1 for brevity and understandability. -5 for the overabundance of common sense.
Chris Maunder 13-Dec-16 19:30pm View
   
That's so awful it's awesome! +1
Chris Maunder 1-Dec-16 18:28pm View
   
-2 points for using the dumbest language ever. +4 points for the pain involved.
Chris Maunder 1-Dec-16 16:04pm View
   
So easy it's almost cheating!
Chris Maunder 26-Nov-16 12:52pm View
   
>I have ignored 'PHB' and 'gotten' as they are simply too trivial.

:) Except they force you to do do the "starts with" and "ends with"
Chris Maunder 25-Nov-16 12:39pm View
   
You see how horrible and unnecessary that word is? We're doing the world a favour here.
Chris Maunder 25-Nov-16 12:05pm View
   
You should try writing surveys one day ;)

Your answer solves the problem. The point is to make the question a little loose to allow invention, improvement, and most importantly, pointless religious wars.
Chris Maunder 25-Nov-16 12:02pm View
   
If I could upvote comments I would.
Chris Maunder 25-Nov-16 12:00pm View
   
Nicely done. Lots of string allocations though. Now: does it do "Poophead" -> "P**phead"? This wasn't in the specs, but I don't think it does.
Chris Maunder 25-Nov-16 11:21am View
   
I'm ignoring you.
Chris Maunder 25-Nov-16 11:20am View
   
End of the day? Monday? We're pretty relaxed about it, but there's a limit to our attention span.
Chris Maunder 25-Nov-16 11:19am View
   
Correct, and thanks for pointing that out. Updated
Chris Maunder 24-Nov-16 16:27pm View
   
This has been fixed. It'll take a few minutes for caching to catch up.
Chris Maunder 23-Nov-16 11:00am View
   
This isn't a question "How do I" this is a "can you do this for me". Please reframe this request and focus on the parts you are stuck on.
Chris Maunder 19-Nov-16 23:03pm View
   
Gotcha. Weird - that will only happen inside markup, and not inside PRE blocks. Time to switch to markdown completely?
Chris Maunder 19-Nov-16 22:16pm View
   
Which bug?
Chris Maunder 30-Oct-16 13:55pm View
   
Is a comment "This sentence tells that you don't know how to use the debugger" really necessary? Does it help provide an answer? Or is it merely there to make the poster feel bad?

If the question is bad, delete it or edit it to make it better.
Chris Maunder 28-Oct-16 13:27pm View
   
Deleted
Ignore me, Griff. Just a test.
Chris Maunder 27-Oct-16 23:14pm View
   
Deleted
Quick Test
Chris Maunder 27-Oct-16 14:32pm View
   
Forget coding for a moment, have you tried solving this on paper?
Chris Maunder 22-Oct-16 23:30pm View
   
Deleted
Quick Test (please ignore)
Chris Maunder 22-Oct-16 14:17pm View
   
Better to post this as a comment, not an "answer"
Chris Maunder 18-Feb-16 13:05pm View
   
Deleted
Testing
Chris Maunder 18-Feb-16 13:05pm View
   
Deleted
Testing
Chris Maunder 9-Feb-16 12:52pm View
   
There's no way we can answer this without seeing the javascript and CSS associated with this HTML
Chris Maunder 5-Feb-16 7:09am View
   
If this is your answer then post this as an answer, not as a question/comment
Chris Maunder 4-Feb-16 15:24pm View
   
Are you running any ad-blockers? What country are you in?
Chris Maunder 4-Feb-16 13:19pm View
   
There's not enough information to answer this. Without knowing your table structure or the query itself.
Chris Maunder 16-May-15 13:24pm View
   
Reason for my vote of 2 \n This is a terrible way to test whether a visitor is on a mobile device. Trust me - I use it myself, and it fails more often than not.

New mobile clients are coming on daily and the best way to test for mobile clients is not to test for mobile clients. Test for ability and features. Does the client have touch? What dimensions and resolution is their screen? This (obviously) means client-side testing, but if you combine this with the notion of writing your web apps so they work on any screen size, regardless of whether it's a mobile device or not, then you'll have an app that works for as many people as possible.

We need to move away from fixed lists of mobile clients and accept that the notion is obsolete. Take the Surface Pro, for instance, or any convertible tablet. Are they a tablet? A desktop? Mobile? It depends, and it depends on things that user agent strings can't tell us.
Chris Maunder 2-Dec-14 9:31am View
   
Correct.
Chris Maunder 1-Dec-14 22:56pm View
   
gobsmacked.
Chris Maunder 30-Oct-14 9:47am View
   
I've actually just put that on the TODO list: Upvotes for comments in QA.
Chris Maunder 10-Sep-14 10:31am View
   
Reason for my vote of 1 \n First: This isn't a tip - it's a bare-bones walkthrough of a topic that's been covered many times before. This article doesn't explain what it's trying to do - it simply shows code snippets cut and pasted from a larger applications.

Second: NEVER EVER EVER do something as stupid and dangerous as "using (SqlDataAdapter adapter = new SqlDataAdapter(txtSelect.Text, conn))". One can only assume that txtSelect is a text box, and you're injecting text a user enters directly into a SQL query. That's a direct SQL injection vulnerability and is EXTREMELY dangerous.
Chris Maunder 21-Jul-14 10:32am View
   
Deleted
Montu is working on this. Will follow up
Chris Maunder 18-Jun-14 11:11am View
   
Deleted
Nice one!
Chris Maunder 13-Jun-14 15:04pm View
   
Deleted
This involves many on the team but trimmed down the assignee list to me since I'm the "owner" and Eric wants just owners listed as assignees.
Chris Maunder 13-Jun-14 14:59pm View
   
Deleted
This is currently Kamil's. As soon as we have a feed of the top workspaces it'll be assigned to me.
Chris Maunder 4-Jun-14 22:07pm View
   
Deleted
No luck in actually getting the insertvar plugin to work. There were a bunch of script errors that I fixed up, but this makes me think that what I was testing wasn't the final / complete code. Can you please recheck what's currently checked in?
Chris Maunder 3-Jun-14 12:39pm View
   
Deleted
Requires ratings to be added to workspaces
Chris Maunder 2-Jun-14 12:19pm View
   
Deleted
Closing this based on discussions that this simply wasn't going to be worth our while.
Chris Maunder 23-May-14 12:20pm View
   
Deleted
Waiting on Kamil to add 2 x ad units for this to go live
Chris Maunder 21-May-14 14:59pm View
   
Deleted
This requires review of anti-spam legals.
Chris Maunder 18-May-14 22:11pm View
   
Deleted
Sorry I've taken so long to get to this - will pull and merge this week.

Update: all merged but I've done a fair amount of reworking to get it to work more like the CodeProject paste dialog. Also renamed to "smart_paste".
Chris Maunder 15-May-14 9:50am View
   
We can't answer without you providing info on what you've tried
Chris Maunder 14-May-14 12:42pm View
   
Deleted
What's blocking you?
Chris Maunder 12-May-14 3:53am View
   
Deleted
> I supposed to track which link user clicked?

Unless you can think otherwise, you're going to have to hard code some rules. If the URL contains /articles/ then it's from an artic;le. if it's "/" then it's the homepage etc.

> If you have the link to ::Workspaces on left sidebar, in menu bar and below the article, there is no way for me to distinguish between them

Would a querystring help?
Chris Maunder 12-May-14 1:41am View
   
Deleted
Kamil - I'm assinging this to you because no matter what we do, you'll have to log the clicks at your end. I don't want any links to Workspaces to be redirection / tracking links because that will mean we lose Google SEO.

As discussed in the meeting, trapping the referrer URL should do it, or we can append a querystring value to links as a last resort (though this will skew results if Google caches the links)
Chris Maunder 11-May-14 21:37pm View
   
Deleted
I'm making a lot of progress on this. Redis seems solid now (after Kamil's changes) and the connection errors seem to be an issue with long running queries.
Chris Maunder 11-May-14 20:52pm View
   
Deleted
I've dramatically improved performance in this area. I'll leave this open until there's more evidence it's working for everyone.
Chris Maunder 11-May-14 1:31am View
   
Deleted
A question from 2011 is still a valid question for those working in the technology.
Chris Maunder 30-Apr-14 11:24am View
   
Deleted
What's the progress on this?
Chris Maunder 27-Apr-14 22:25pm View
   
Deleted
Please email me your email addresses at chris@codeproject.com and I'll take a look.
Chris Maunder 27-Apr-14 22:24pm View
   
Deleted
Try Ctrl+F5. We did have an issue with this but it's now showing as resolved for me.
Chris Maunder 25-Apr-14 18:45pm View
   
Deleted
When's the next test scheduled? I'd like to get this task closed either way ASAP.
Chris Maunder 22-Apr-14 17:33pm View
   
Deleted
Placed this on hold until the deal comes through.
Chris Maunder 22-Apr-14 17:31pm View
   
Deleted
What is this task?
Chris Maunder 18-Apr-14 21:44pm View
   
Point taken, but I'm looking for something very basic. I guess what I need is a txt-speak-to-English detector and translator.
Chris Maunder 18-Apr-14 21:43pm View
   
Let's start with English ;)
Chris Maunder 17-Apr-14 20:09pm View
   
Deleted
FireFox?
Chris Maunder 17-Apr-14 20:01pm View
   
Deleted
We went back and forwards on that one quite a bit

Where would the modal window sit? On top of everything? How would you switch to another task? Would you have to close the window first?

It seemed clunky to have a modal window but we're certainly open to suggestions.
Chris Maunder 15-Apr-14 19:08pm View
   
Deleted
Nice idea but at this point we have no plans to support SVN.

However, never say never.
Chris Maunder 14-Apr-14 21:18pm View
   
Deleted
This is now fixed, right?
Chris Maunder 6-Apr-14 16:32pm View
   
Deleted
Please walk me through this tomorrow (Mon 7). I'm not familiar with the URLs and keys needed.
Chris Maunder 4-Apr-14 11:46am View
   
Deleted
Interesting idea,
Chris Maunder 24-Mar-14 10:07am View
   
Deleted
A very, very basic documentation system will be released in the next day or so. After that we'll move on to a full Wiki system
Chris Maunder 23-Mar-14 22:13pm View
   
Deleted
Merged the pull request and am making some small tweaks.

The main case where I need to mess around with URLs (the baseHref change) is when we have pending versions of articles. In this case the url will actually be section/basename/Working/image.ext instead of /section/basename/image.ext (for example). Handling that transparently is the goal. I'll play around with adding a more concrete example to the code.
Chris Maunder 20-Mar-14 16:30pm View
   
Deleted
No luck so far in reproducing this but there's one more thing I'll try when I get a chance.
Chris Maunder 18-Mar-14 14:15pm View
   
Deleted
Almost complete. Firing off to Kamil for comments and suggestions.
Chris Maunder 11-Mar-14 23:32pm View
   
Deleted
I haven't set a priority on this since I don't know what it is
Chris Maunder 10-Mar-14 22:31pm View
   
Deleted
What is this?
Chris Maunder 7-Mar-14 11:06am View
   
Deleted
I've undone you "fix". Sorry!
Chris Maunder 7-Mar-14 11:04am View
   
Deleted
There aren't meant to be any attached documents....
Chris Maunder 4-Mar-14 9:40am View
   
Deleted
This is marked as "Some Day" but it's also a relatively easy task. Is the priority accurate?
Chris Maunder 3-Mar-14 13:35pm View
   
Deleted
Approved
Chris Maunder 27-Feb-14 9:22am View
   
Deleted
Evidently there are problems with the deploy. Leaving this to Adam to follow up.
Chris Maunder 26-Feb-14 19:25pm View
   
Deleted
What change, and what testing has been done? Has it been deployed? I need more info than "Guess we wait and see"
Chris Maunder 10-Feb-14 21:48pm View
   
Deleted
Currently running the app to populate the data
Chris Maunder 8-Feb-14 19:26pm View
   
Deleted
That link doesn't go anywhere.
Chris Maunder 24-Jan-14 14:29pm View
   
Deleted
The format of the printouts is not quite right:

**Goal**
To have a printout I can take to a meeting.

**Requirements**

1. Easy to read
2. Print specific styling
3. As few pages as practical

Current problems

- There's a huge gap between the CodeProject banner at the top left and the first item
- The "Filter" / Sorting icons appear at the top of columns. They add nothing
- The spacing between items is way, way too much.
- The drag/drop and expand/collapse handles are shown. They shouldn't be
- the header bar looks too bare: At a minimum maybe have the orange bar continue across the top
- The print header shows ::Tasks and the URL. I'd rather have just chris-maunder-codeproject-solutions/tasks as the top-left print header, or even nothing
- I'd prefer page numbers to be in the center or right hand side
- Dates should never be X/Y/Z format, **ever**. What does 6/7/2014 represent? To a Canadian? An Australia? An Englishman? A Polish dude? dd-MMM-yyyy only please.
Chris Maunder 20-Jan-14 13:38pm View
   
Deleted
I think this should be closed. If further CSS customisation is needed it should be opened as a new task. The current requirements has been fulfilled nicely.
Chris Maunder 20-Jan-14 13:07pm View
   
Deleted
Please ensure it's only a very, very short delay, and I would also reduce the amount of time a dropdown stays dropped after the mouse goes outside the dropdown
Chris Maunder 10-Jan-14 14:29pm View
   
Deleted
It may make sense for us to expose syntax colourisation as a service.

Is syntaxhighlighter.js any good? (http://alexgorbatchev.com/SyntaxHighlighter/)

Actually, in looking at http://www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=251 it's clear that the syntax colouriser in use is not doing a good job at all.
Chris Maunder 10-Jan-14 10:44am View
   
Deleted
I love the idea of a full-featured print view, but I have an immediate need to be able to print out Task lists. Could this be broken up into

1. "Make it so the page will print all items" and
2. "Make it a 100% perfect solution".

\#2 can wait. #1 can't.
Chris Maunder 10-Jan-14 9:54am View
   
Deleted
Note: I'm not keen on going live until these colours match.
Chris Maunder 9-Jan-14 20:11pm View
   
Deleted
The toolbar on CodeProject is not pretty. The current Tasks toolbar is far nicer. However, adding indent/outdent is nice and link image.
Chris Maunder 9-Jan-14 12:09pm View
   
Deleted
Why is this on hold?
Chris Maunder 9-Jan-14 10:06am View
   
Deleted
Using the column template in the Design view would be excellent.
Chris Maunder 9-Jan-14 9:53am View
   
Deleted
This should not be "per user". It should be "per instance" or even "per workspace" (per instance could be annoying if you want to keep consistency across tasks within a single workspace.

The point is to allow the admin to offer a look and feel that matches their needs. It's not to allow end users to customise
Chris Maunder 6-Jan-14 11:55am View
   
Deleted
Isn't this already completed?
Chris Maunder 27-Dec-13 21:48pm View
   
Deleted
Stuck on API issues, but core is done
Chris Maunder 17-Dec-13 13:04pm View
   
Deleted
From Adam: I looked at Mailouts/EmailInventory.aspx and there is a control for include and exclude. I added a new column to the table, and since it is no longer a link table because of that I renamed the table to ResearchCampaignGeotargeting
Chris Maunder 10-Oct-13 8:14am View
   
This is too broad a question. What error are you seeing?
Chris Maunder 10-Oct-13 8:13am View
   
You'll need to show some (brief!) code for us to help. You haven't given us anything concrete with which we can help. First, state the exact question you want answered in the title, then post the specific bit you're having a problem with in the body of your question.
Chris Maunder 20-Aug-13 14:08pm View
   
Let me address your comments point by point without geting personal and claiming there's something wrong with you.

1. The title of the post says "change bground color of button when mouseover". The poor grammar makes it extremely ambiguous. Does the OP mean "a javascript mouseover event" or do that mean "when the mouse hovers over the button"? As I said, I would like the OP to clarify. My interpretation was that he wanted to change the background colour when the mouse is over the button. My answer addressed this. I would LOVE the OP to clarify his question and if my understanding was wrong, I'll remove my answer.

2. "you gave a misleading answer as it ignores first part of the question.". I updated my answer with clarifictions

3. "And your comment "JavaScript not jQuery" is totally wrong". My full comment was "he posted sample code that attempted to solve this with Javascript, not jQuery." I see some plain Javascript in his code, but I do not see the OP using the jQuery library anywhere in his post.

4. "Finally, it's too hard to agree that "it's up to OP to mark your solution as correct and incorrect"." Why doesn't the OP have the right to decide the correctness of an answer?

5. "As you don't want to admit your mistake" Was my mistake in using CSS, or was my mistake in not taking his javasacript and adapting that to work with more than one button?

6. "I'll vote 1 for your question, sorry. I hope you won't tell me that I cannot do that. :-)"

This is your right. Enjoy.
Chris Maunder 20-Aug-13 12:10pm View
   
Your response to the question was not an answer - in the sense it wasn't a solution that would enable the user to solve his problem.

With regards to my answer being incorrect I'm happy to have the original poster respond to my post and clarify. His question was title "change bground color of button when mouseover" and he posted sample code that attempted to solve this with Javascript, not jQuery. He also specifically asked how to make it work for many buttons, which my solution addressed. Nowhere do I mention "how to have two or more buttons of different colors"

It's up to the OP to comment and mark my solution correct or incorrect. I welcome your interpretation, but with respect I feel your intepretation of the question goes a little too far.
Chris Maunder 21-Apr-13 16:18pm View
   
...as long as you're happy with a little bit of rounding if you use double.
Chris Maunder 17-Mar-13 13:10pm View
   
What technology?
Chris Maunder 13-Jan-13 9:43am View
   
"This is not a quick question. "

Please simply report it as such and move on. Let's encourage the sorts of questions that motivate people to answer instead of encouraging laziness.
Chris Maunder 28-Nov-12 21:32pm View
   
Two windows open. One development, one live.

Which do you think I posted the test post on? /slapshead
Chris Maunder 18-Oct-12 9:41am View
   
Your answer is copy and pasted from http://msdn.microsoft.com/en-us/library/ebwdx8yh(v=vs.71).aspx. Further plagiarism will result in your account being cancelled. By all means, quote and reference other sources. However, do not simply cut and paste entire articles posted elsewhere.
Chris Maunder 29-Sep-12 10:40am View
   
1. the original was

DECLARE @Query VARCHAR(MAX)
SET @Query = @Query + ...

So @Query has not been initialised.

2. Yeah, I was being lazy. Break out DECLARE @Query VARCHAR(MAX) = '' into

DECLARE @Query VARCHAR(MAX)
SET @Query = ''
Chris Maunder 29-Sep-12 6:36am View
   
It's probably an issue with the stored proc you're calling. Please update your question and add the code for the sproc so we can help
Chris Maunder 25-Sep-12 13:54pm View
   
Report the questions and move on :). It's a community effort to keep things focussed.
Chris Maunder 9-Aug-12 9:28am View
   
Report removed.
Chris Maunder 15-May-12 14:26pm View
   
I've closed this question. Partly because it's a repost, and partly because you're treating members who are trying to help you like they are your staff.

Everyone here helps each other for no other reason than they like to help others. I understand you're frustrated, but show some consideration.
Chris Maunder 14-May-12 20:34pm View
   
Simpler simply to edit harish85's answer and update with links.
Chris Maunder 17-Apr-12 14:46pm View
   
Report the question as a bad question and move on. No need to insult.
Chris Maunder 7-Mar-12 10:01am View
   
What have you tried?
Chris Maunder 11-Feb-12 14:15pm View
   
My apologies - I did not take note of the "it will provide thread safety". You are absolutely correct in that thread safety is not provided by default and will have to be accounted for.
Chris Maunder 10-Feb-12 22:41pm View
   
I'm looking for the "Sainthood" button on Christian's posts. I think I need to add one.
Chris Maunder 10-Feb-12 22:27pm View
   
No, it's not a lie. You can create background threads in ASP.NET and in some (rare) situations it's a very effective tool. We do it ourselves.
Chris Maunder 7-Feb-12 8:41am View
   
Deleted
[.\n] or [.\r\n]?
Chris Maunder 6-Feb-12 22:45pm View
   
I've updated the example to show you.
Chris Maunder 2-Feb-12 16:32pm View
   
I was guessing, but "window based EXE" to me means a normal windows-based application.
Chris Maunder 2-Feb-12 15:26pm View
   
Please SA - not everyone has English as their first language, nor are we, as developers, renowned for our spelling. Vote, report, or even better, use your abililty to edit posts to correct it so that others can read it more easily. Making someone feel bad helps no one.
Chris Maunder 2-Feb-12 7:54am View
   
Please read the docs for the DateTime structure: http://msdn.microsoft.com/en-us/library/system.datetime.aspx. DateTime.Day, DateTime.Month are what you're after.
Chris Maunder 2-Feb-12 7:47am View
   
Some code would help. Can you please post a small snippet?
Chris Maunder 2-Feb-12 7:43am View
   
The question was "How do I do it in ASP.NET".
Chris Maunder 31-Jan-12 21:26pm View
   
What does the markup look like? Specifically, what is "lblTotal"?
Chris Maunder 31-Jan-12 21:20pm View
   
Totally agree.
Chris Maunder 31-Jan-12 21:20pm View
   
You guys have the power to flag and close questions. If 5 of you flag a question it's gone. Just 5 people. The quality of the forum questions would rise considerably. Do your bit, we'll do ours.
Chris Maunder 31-Jan-12 19:00pm View
   
Point well made, but an even better way to make the point is to use the reporting mechanism, flag it as an incomplete question, and move on.

I would much, MUCH rather everyone simply used the voting mechanisms we have in place rather than making others feel stupid and embarrassed.
Chris Maunder 30-Jan-12 20:14pm View
   
Deleted
...which is a little annoying when you're trying to switch between Javascript and C# with the same regular expression. Though I don't understand why \n isn't included in "." in Multiline mode for all flavours of regex.
Chris Maunder 24-Jan-12 21:27pm View
   
Why can't you use any subquery, joins, unions, etc?
Chris Maunder 24-Jan-12 14:35pm View
   
So vote the question as "Not a question" then.
Chris Maunder 24-Jan-12 14:17pm View
   
Who are you directing this to?
Chris Maunder 17-Oct-11 17:01pm View
   
Can I suggest, please, that you don't.

It never turns out to be a good idea. Ever.
Chris Maunder 17-Oct-11 16:57pm View
   
What have you tried and what, through debugging, is being shown as the bottleneck? Help us to help you.
Chris Maunder 4-Oct-11 8:51am View
   
Deleted
Updated to reflect updates to original
Chris Maunder 4-Oct-11 8:47am View
   
Deleted
Reason for my vote of 1
The time has long since passed when a recursive solution for calculating factorials was acceptable.
Chris Maunder 4-Oct-11 8:47am View
   
Deleted
I've reworked the method to make it more generic and cleaner.
Chris Maunder 4-Oct-11 8:43am View
   
Deleted
Nooooooooooo! Please, no more recursive functions for factorials. It's a horribly inefficient way to solve such a simple problem.
Chris Maunder 2-Oct-11 8:35am View
   
Deleted
testing
Chris Maunder 2-Oct-11 8:03am View
   
Not a question. Removing
Chris Maunder 2-Oct-11 7:57am View
   
Deleted
Test comment
Chris Maunder 20-Sep-11 0:27am View
   
Encrypting passwords is a bad idea. The poster was asking about hashing. Two very different beasts.
Chris Maunder 19-Sep-11 23:50pm View
   
It was a bit of an off-the-cuff answer since we use it that way and I can't recall experiencing the same issue recently. Obviously there's more to the story.
Chris Maunder 16-Sep-11 17:09pm View
   
Please post the question at the forum on http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part1.aspx, not here.
Chris Maunder 15-Sep-11 11:03am View
   
I think he means the text-to-html ratio of text within an HTML document.

Maybe.
Chris Maunder 16-Aug-11 22:31pm View
   
Show us the code for GetDataUser. That's where the error is. Have you checked your connection strings?
Chris Maunder 15-Aug-11 11:37am View
   
Deleted
I would add this at the start:

if @Input is null or @SearchString is null or LEN(@SearchString) = 0 or LEN(@SearchString) > LEN(@input)

There is also an error with your parenthesis. I've fixed your code. Thanks again!
return 0
Chris Maunder 15-Aug-11 10:13am View
   
Christian - please post this as a comment, not as an answer. Better yet: report and close the question and move on to a question where you feel the author can best make use of what you can offer.
Chris Maunder 15-Aug-11 10:00am View
   
What's the error? You're not helping us help you.
Chris Maunder 11-Aug-11 21:43pm View
   
Add the smallest snippet of code you can to your question and we might be able to help. Please edit the original question: don't post the info as an answer or comment.
Chris Maunder 11-Aug-11 21:42pm View
   
From Steve: Still makes me say hmmm.... All of the other menu properties carry across the postback. Turns out on a postback, I was not resetting the properties for anything. All stayed except for RenderingMode. Moved RenderingMode before the bail on the postback, solved annoying problem
Chris Maunder 11-Aug-11 18:05pm View
   
Post this as a comment, please, not an answer. It's just adding to the debris. (Deleting)
Chris Maunder 9-Aug-11 12:15pm View
   
We can't answer if you haven't told us what you've tried and where your error is. Closing the question.
Chris Maunder 9-Aug-11 12:15pm View
   
We can't answer if you haven't told us what you've tried and where your error is. Closing the question.
Chris Maunder 9-Aug-11 12:15pm View
   
We can't answer if you haven't told us what you've tried and where your error is. Closing the question.
Chris Maunder 30-Jul-11 6:18am View
   
Why use a hammer?

Deleting since this is too open and has no context.
Chris Maunder 27-Jul-11 11:30am View
   
Which is best? A hammer or a screwdriver?
Chris Maunder 26-Jul-11 22:04pm View
   
This is a completely pointless comment. Let me know when you get it and I'll remove it.
Chris Maunder 25-Jul-11 21:19pm View
   
Deleted
Just to be Devil's advocate here - well, not quite - doing a Select Column1,..., ColumnN from Table can be just as dangerous. Was the issue because you had two tables both with a column name with the same name? Select Table.Column1,..., Table.ColumnN from Table will at least allow the stored proc to compile, but even then your rowset will contain duplicate column names.

Correct database change management is what will save you here. Select * is not the problem, it's a symptom.
Chris Maunder 18-Jun-11 13:23pm View
   
What have you tried?
Chris Maunder 12-Jun-11 20:28pm View
   
Deleted
Fair call. I've updated the code.
Chris Maunder 12-Jun-11 16:42pm View
   
Deleted
typo
Chris Maunder 4-Jun-11 15:00pm View
   
You haven't asked a question, you've just stated a problem. Ask a specific question and you may get some help
Chris Maunder 2-Jun-11 18:24pm View
   
What have you tried?
Chris Maunder 27-May-11 22:07pm View
   
How is client side scripting going to help with extremely large datasets on the server side?
Chris Maunder 27-May-11 22:05pm View
   
What, specifically, isn't working? You need to be precise.
Chris Maunder 27-May-11 7:52am View
   
What's the question? We need more than that to help you
Chris Maunder 11-May-11 20:34pm View
   
What type is "lboxStudentIDs.SelectedValue" and what type is "SchoolIDS"? You can't just cast between different types and expect it to work
Chris Maunder 11-May-11 20:32pm View
   
What's your question?
Chris Maunder 21-Apr-11 8:50am View
   
But maybe Google is...
Chris Maunder 21-Apr-11 8:24am View
   
Ask a sepcific question. We won't do your homework.
Chris Maunder 19-Apr-11 8:56am View
   
Show us what you've tried and ask a specific question on what's blocking you and then we can help you.
Chris Maunder 15-Apr-11 9:30am View
   
If the poster has made no effort to help us answer his question then report the question and move on.
Chris Maunder 15-Apr-11 9:27am View
   
Do you want to do this within your code, at the database level? ie do you want the Access database to return the data pre-formatted. What have you tried so far?
Chris Maunder 15-Apr-11 9:22am View
   
You need to send us the statement you are using to insert the records.
Chris Maunder 8-Apr-11 8:53am View
   
If you tell us what you've tried we can provide specific help.
Chris Maunder 7-Apr-11 10:07am View
   
Best to just report the question as "Not a question" and move on.
Chris Maunder 6-Apr-11 14:10pm View
   
That's great, but it's not a question. Ask us for specific help. We'll help, but we won't do your work for you. Reported as "Not a question"
Chris Maunder 5-Apr-11 12:28pm View
   
Can you please post the code you have that wraps the "Phone Number" etc blocks? I think it's a wrapping problem
Chris Maunder 22-Mar-11 22:16pm View
   
Deleted
No it isn't. And you mean MFC, right?

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190214.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid