Pathachiever11

Age: 19

Sep
15
comment Access post data directly
@TWilly Not sure what the issue in your case might be, but after read the InputStream, you have to set its position to 0 before you can read it again.
Sep
13
awarded Announcer
Aug
30
comment Using funny error messages in Finance
@Franchesca you get the point. :)
Aug
28
comment Using funny error messages in Finance
@O.R.Mapper To me "transaction failed" sounds like, "Ok transaction failed. The money is still there". "Something went wrong" isn't as reassuring. Like Cornstalks said, it could mean many things. On the other hand something like "Something went wrong. Don't worry, you money is safe with us." would also assure the user.
Aug
28
comment Using funny error messages in Finance
@Ally I agree. When it comes to finance, it is serious business. As a user, I think I would appreciate a more specific answer like "Looks like the Transaction failed. Please try again", rather than "Something went wrong.", which is too vague.
Aug
27
comment What use does the ID have in style tag
@wonderwhy Yeah, its pure speculation at this point. Unless someone from Twitter comments, we may never know why "they" do it. =)
Aug
27
comment What use does the ID have in style tag
@wonderwhy There could be a hundred reasons behind it. You can go through their JS to figure out what they're doing. Generally speaking, this is not good practice. Maybe they might be using at a stylizer? Swap out the style tag to update theme or something? Idk. Could be lots of reasons. Or maybe just a label for the purpose of the style/script tag.
Aug
27
comment What use does the ID have in style tag
This question is pretty vague. ID/Class attribute is not required on a style element. But if a developer needs to get to that style element to do something out of the ordinary, then they would do that. Personally, I've never seen such hacks.
Aug
26
comment Should I stop fighting Visual Studio's default namespace naming convention?
If you look at MVC Source code aspnetwebstack.codeplex.com/SourceControl/latest#src, you'll notice that they actually do stick to the folder namespace pattern. The Extension classes aren't in any subfolders. And any subfolders with one or more class have the subfolder in the namespace. Interesting.
Aug
25
answered C# WebBrowser child requests from the page don't have same headers
Aug
25
comment Basic Authentication ASP .Net MVC 5
But for an Mvc application, you would need to store in Cookie. For instance every request will not have the header automatically appended. The client browser needs to add the authorization header, but it won't. WebApi is different, we have control over the HttpClient.
Aug
25
asked C# WebBrowser child requests from the page don't have same headers
Aug
17
awarded Popular Question
Aug
13
comment Empty value in datagridview combobox dropdown for nullable type
It's fine, I think programmers should be able to figure out the answer from your answer and my comment.
Aug
13
comment Empty value in datagridview combobox dropdown for nullable type
No worries! Your answer is good enough to point me in the right direction. Besides, if every answer was perfect, how could we ever be perfect? ;)
Aug
13
comment Empty value in datagridview combobox dropdown for nullable type
I ended up adding an event for CellValueChanged and setting null for the various columns where the NULL enum value was set. This was the easiest approach for my scenario. Thanks for pointing me in the right direction.
Aug
13
accepted Empty value in datagridview combobox dropdown for nullable type
Aug
13
asked Empty value in datagridview combobox dropdown for nullable type
Aug
13
awarded Constituent
Aug
12
comment How to update an object in a List<> in C#
@Burjua The perception is that we can see the actual loop happening in the foreach block, whereas in Linq/Lambda we don't, so we assume foreach is slower and try to avoid it. Reality is foreach/for/while loops are much faster.
1 2 3 4 5