Oct
16
awarded Nice Answer
Oct
15
awarded Yearling
Oct
15
awarded Yearling
Oct
8
answered Getting model data in the AuthorizeAttribute in MVC 3
Sep
26
awarded Enlightened
Aug
22
awarded Great Answer
Aug
19
comment CS0436: Type conflicts with the imported type
You said it yourself: internally to the assembly. Option 3: Make the license class internal and this should fix the problem. Much better than a pragma.
Jul
14
awarded Necromancer
Jul
2
awarded Curious
Jul
1
comment ASP.Net MVC Controller Actions that return void
I suspect the reason for the downvote (I didn't) is because a response "does" come back. A 200 OK response. The response body is empty, though. I think with ajax operations it is reasonable to use HTTP status codes to communicate operation results. 200 OK, 500 Error, 403 forbidden, etc. A body isn't always necessary.
Jun
20
awarded Informed
May
9
comment ExecuteReader requires an open and available Connection. The connection's current state is connecting. in execute reader
You could try if(conn.State != ConnectionSTate.Open) conn.Open(). I don't know if that works in certain states though.
May
9
comment ExecuteReader requires an open and available Connection. The connection's current state is connecting. in execute reader
I'm guessing that you are being passed a connection that is in the "connecting" state, maybe it was opened asynchronously or something. Your State == Closed check doesn't execute the Open method.
Mar
18
comment C# Convert Date To Double
@DStanley The reason I think he is looking for OADate and not the function that he is describing, is because is example input/output that he gives fits for OADate, but not for his description.
Mar
18
comment C# Convert Date To Double
If you are using VBA, you might actually be looking for the DateTime.ToOADate function, documented here:msdn.microsoft.com/EN-US/library/x2k67kb6(v=VS.110,d=hv.2).aspx
Mar
7
revised How does powershell resolve command names?
edited title
Mar
7
accepted How does powershell resolve command names?
Mar
7
asked How does powershell resolve command names?
Mar
3
comment How to allocate more memory for a variable
The length of the substring that you are getting is 80 characters. The default console width in windows is 80 characters. Is this coincidence? How are you entering this data into the console? My suspicion is that you are providing faulty input (inadvertantly) that includes a newline.
Feb
26
accepted How can I use a non-SolidColor brush for WinRT xaml TextBox foreground color?
1 2 3 4 5