Posts by Bruno Henri • 211 points
5 posts
-
2
votes2
answers265
viewsQ: Unexpected result in using Parallel.Foreach
Next, I have a class that has a string list and the following structure public class Teste { private List<string> _codigos; public void InsertDB(string[] files) { _codigos = new…
-
2
votes1
answer80
viewsA: Delete result with JS and PHP
First point, I recommend using the function str_pad in PHP for this display effect, as follows str_pad($matricula, 5, "0", STR_PAD_LEFT); The problem is happening because you didn’t put quotes on…
-
0
votes1
answer54
viewsQ: Maintaining Complextype creation pattern in EF Core
In the past I used Entity Framework 6.0, and when creating a class as in the example below: public class Produto { public int ProdutoId { get; set; } public string NomeProduto { get; set; } public…
-
1
votes0
answers272
viewsQ: C# - 5 significant numbers with at least 2 decimal places
Guys, someone knows a way that I can transform a number with at least 5 significant digits and added to this factor, it should have at least 2 decimal places. Example: -0,00012 >> -0,00012000…
-
2
votes1
answer276
viewsA: Placing a function inside an input
<input name='AwardID' id='AwardID' type='text' value="Senha aleatoria" maxlength='40' value='<?php echo geraSenha(8, true, true, false); ?>' readonly /> just write the return of the…
phpanswered Bruno Henri 211