Posts by Maurício Júnior • 353 points
14 posts
-
4
votes1
answer474
viewsQ: Code to generate user password hash in Oracle 10G with C#?
I need to authenticate users in a web application in the Oracle 10g database, but the credentials are native to the database by running an Oracle Forms application already, and we would like to keep…
-
-1
votes2
answers621
viewsA: Entityframework . Asenumerable() or . Tolist()?
List is a Class where all these interfaces are implemented: Ilist, Icollection, Ienumerable, Ienumerable, Ilist, Icollection, Ireadonlylist, Ireadonlycollection For iteration only 1 time with the…
-
3
votes2
answers100
viewsA: How to manipulate title="" by c#?
Estate ToolTip ! <asp:HyperLink ToolTip="Aqui é renderizado o TITLE!"> I suggest you change the title of the question to ASP.NET, C# is the syntax used in ASP.NET! Code Behind uses the same…
-
1
votes1
answer44
viewsA: Cmd Builder similar to the look of All
Hello can run the following command at the system prompt using Csharp Compiler (CSC.EXE): csc File.cs To learn more visit: Command-line Building With csc.exe I hope I’ve helped!…
-
3
votes1
answer174
viewsA: Calculator does not detect two-digit numbers
Friend, frankly I think the approach is wrong with your software. I believe that you should consider for the development of any software the computerization of the process, and for that, replicate…
c#answered Maurício Júnior 353 -
0
votes2
answers124
viewsA: Passing variable values in ASP.NET and Mysql
this question is almost a How To, so there goes a link to be based, as we have no way to know the depth of your knowledge, I leave this how to basic: Connecting C# to Mysql I also suggest you try to…
-
1
votes3
answers1710
viewsA: When and why should we use threads?
In practice when I use Threads: When I don’t want to lock my main processing, be it in Forms or on the Web. When I need performance and the operation does not require dependencies on other…
-
1
votes5
answers870
viewsA: Doubt with foreach com group by Asp.net mvc
Friend, you are using MVC with which database? It is a choice not to use Entity Framework, or you do not know? Frankly, I see several flaws in your development pattern that generate errors! 1)…
-
0
votes1
answer596
viewsA: Manipulating / Treating Dropzone return in Javascript
found the answer in this post in English: Reply in English success: function(file, response){ if(response.code == 501){ // succeeded return file.previewElement.classList.add("dz-success"); // from…
-
2
votes4
answers785
viewsA: Should I use a "Try-catch" to identify if a password is wrong?
Exceptions and Try Catch! First, answering your question, yes I think you can and should use Try catch to capture the password error, but with a question, you should create a correct Exception for…
-
0
votes4
answers281
viewsA: Is there a C# feature similar to PHP __call?
Well ... one of the basic differences between C# and PHP is that C# is a TYPED language, meaning that types are known with their characteristics (methods and properties), whereas PHP is an untyped…
-
3
votes4
answers1698
viewsA: Why use C#extension methods?
Let’s go to something very practical, for an understanding without complication! You have to do a certain operation on an object type several times, for example, clear a string and leave only the…
-
7
votes4
answers1313
viewsA: How to organize alphabetically a select obtained through a JSON?
First I would like to suggest an edition of your Json so that the return is readable, someone can tamper with the code that one day is not you! Then I’d do something about it: var UFs = [ {Id: 12,…
-
1
votes1
answer596
viewsQ: Manipulating / Treating Dropzone return in Javascript
I need to know how to manipulate server return to show that the uploaded file was not saved! The server return object: public class JsonReturn { public bool Ok { get; set; } public int…