Joe Enos

Phoenix, AZ

jtenos.com

Software developer and architect, focused on .NET technologies. Aspiring entrepreneur, working on multiple startup projects.

Twitter: http://twitter.com/jtenos/

1d
answered how can I share variable in recursive class?
2d
revised IE using Negotiate authorization instead of Basic
added 406 characters in body
2d
asked IE using Negotiate authorization instead of Basic
Apr
28
comment Server Error in '/' Application after updating a dll in a C# .NET website project
Take a look at the Windows Event Viewer - your actual exception may have been logged there.
Apr
26
comment Javscript close an tab you just opend
I don't see how you'd be able to do that without some coordination with the other site, for security purposes. You can't read or write from a window looking at a different domain.
Apr
26
answered Javscript close an tab you just opend
Apr
20
comment How can I accept uppercase letters in my prompt? JS
indexOf is zero-based on which position it finds a match. If there is no match, it returns -1. So you could say ===-1 instead, but I generally do <0 for no match and >=0 if I want a match.
Apr
19
comment How can I accept uppercase letters in my prompt? JS
If you're trying to cut back on code, you can rework those comparisons into something like: while (["b","B","o","O","h","H"].indexOf(newBase) < 0) - sometimes if you think backwards you can do the same thing in a more concise way. But I like Dalorzo's solution better for this particular issue.
Apr
15
awarded Enlightened
Apr
14
comment Links not working in Mozilla
Are you using http:// or file://?
Apr
14
comment Enable and Disable a Span class based on an even in jQuery
A span can't be disabled or enabled. Are you talking about making it visible/invisible?
Apr
14
comment How to get date after 12 months in c#
You'd need to define your algorithm for what that actually means - is "12 months" defined as "1 year minus 1 day", or is there something else going on? You only provided one example, so it's hard to predict what you're actually going for. For example, how do you handle February 29th? And are you always adding 12 months or can you add 1 month, and if you can add 1 month, what is 1/31/2016 plus 1 month?
Apr
14
answered Column invalid error in MS-SQL
Apr
14
comment Replace GUID in web.config during publish
@Rumpelstinsk I ended up with something custom outside of web.config which actually worked better anyway. I don't know if there's a built-in way, and since this question was asked, they've done a ton of work with the framework, so I don't know if there's a simple built-in way, aside from the listed answer.
Apr
14
accepted Replace GUID in web.config during publish
Apr
13
comment Execute stored procedures in SELECT
What are you expecting in the SP output result? The way you've got it, it looks like you're expecting the result in one big blob. Would a big XML result work?
Apr
11
comment Auto properties is not working in c#
Regarding your side note, the empty parameterless public constructor is only useless if there are no other constructors. There is another constructor in this example, so without the empty one, you would not be able to say new Animals()
Apr
8
answered custom query string parser returns incorrect result
Apr
8
answered ASp.MVC HTTP Post not redirecting to action
Apr
6
answered Can't use ZipArchive class
1 2 3 4 5