Posts by Vinicius Castro • 94 points
7 posts
-
2
votes2
answers1155
viewsA: How to convert dd/MM/yyyy HH:mm:ss to yyyy-MM-dd HH:mm:ss
The problem is probably because the CultureInfo on the machine where you made the deploy is different from your local machine (which should be pt-br). Try to put the following code snippet below by…
-
3
votes1
answer57
viewsQ: How to do a column search scan with counter bar character
I am trying to perform a query in a table similar to the one below through a field diretorio. +----------+---------------+----------------------------------------+ |id_imagem | data_upload |…
-
-1
votes4
answers60
viewsA: Remove null fields from a model that receives a list
If you received the Exception NullReferenceException, try the code below, sometimes the field Phones may be null. if(model?.Phones?.Count > 0) { model.Phones = model.Phones.Where(x =>…
-
2
votes2
answers291
viewsA: Perform another action during a await Task.Delay
You can do it this way too: void DoWorkPollingTask() { Task.Run(async () => { while (true) { // Faça alguma coisa... await Task.Delay(time_to_sleep); } }); } This way you will run the method…
-
-1
votes2
answers2793
viewsA: Back-end and fron-end communication
Since you are using React on the front end, you can use Axios to make a request for your API and receive JSON with the data and run it in the UI, as well as you can make POST methods to send data to…
-
1
votes2
answers466
viewsA: Reading JSON with many PHP arrays
To access the position should not be used $obj['results']['currencies']['USD']['buy']; ?
-
0
votes1
answer110
viewsA: identify button when clicking
You could put the method activateButton inside the Boot component and call it the component Botoes (Reference 1 link to this below). And the state that should be changed is that of Botao, and not…
reactanswered Vinicius Castro 94