Posts by Harlan Gomes Nascimento • 371 points
11 posts
-
13
votes3
answers5420
viewsA: Configure ng-bootstrap Datepicker for EN
Well I managed to create two files:Customdatepickeri18n import { Component, Injectable } from '@angular/core'; import { NgbDatepickerI18n } from '@ng-bootstrap/ng-bootstrap'; const I18N_VALUES = {…
-
0
votes3
answers1210
viewsA: REST webservice GET method with token in external browser
I thought it was your API that was having trouble providing her static pages, it would be a simple adjustment; Now that you mentioned that it is a desktop application, unfortunately I never worked…
-
1
votes3
answers625
viewsA: How to treat Nullreferenceexception with Lambda
This Displayname returns a string or am I mistaken ? Tries to replace: p => p.GetCustomAttribute<DisplayNameAttribute>().DisplayName != null for: p => !string.IsNullOrEmpty(…
-
0
votes3
answers190
viewsA: Run DELETE only when you return SELECT
The command after the "cmd.Executenonquery();" method will only be executed after the Executenonquery method gets the response from the database, so you can use "Try/catch" to do the rollback if you…
-
3
votes2
answers665
viewsA: What is the maximum size of an object in 32 and 64 bits?
It depends a lot on the version of . NET Framework that you will use, versions prior to 4.5 had a limit of 2 GB that could be a problem for caching on "large systems"; With version 4.5 was…
-
4
votes1
answer643
viewsA: I can’t get functions from the System.Management class
Francisco Leshift, Add the lib reference "System.Management" and then perform the cleaning and compilation of your project for Visual Studio to load the new libs into the project; And confirm that…
-
0
votes1
answer162
viewsA: How to validate data entry from a web service?
Instead of receiving a single string, "break" it into several parts, so you can use a logic to remove the characters from the first part : "ST STN, CONJUNTO J, * LOJAS T-40 /T41, - TER-REO, SHOPPING…
-
1
votes1
answer2423
viewsA: Difficulty with text alignment on Ionic 2 button
User luukschoen answered me on the Ionic forum : https://forum.ionicframework.com/t/trouble-with-the-alignment-of-text-in-the-ionic-2-buttons/87552 I was simply editing the wrong tag, the correct…
-
-1
votes1
answer918
viewsA: Convert byte to image using <img src>
I believe you can manage using a script : Html <img id="MinhaImagem" src="" /> Script document.getElementById("MinhaImagem").src = "data:image/png;base64," + Bytes;…
-
0
votes2
answers515
viewsA: About Date in Mysql
Good, you can convert with C# DateTime dt = DateTime.ParseExact("04/26/2016", "MM/dd/yyyy", CultureInfo.InvariantCulture); I recommend researching your questions better before asking in the…
-
1
votes1
answer2423
viewsQ: Difficulty with text alignment on Ionic 2 button
I started my studies with Ionic 2 these days and I’m not able to align the text of the Ionic buttons to right or left, it is only in the center. 1 - I tried to use the markup informed in the Ionic…