Posts by picossi • 566 points
10 posts
-
0
votes1
answer121
viewsA: Bring record of each ID with the latest change date
Dude, I haven’t used the Oracle in a while, try something like this: SELECT a.CODPROD, a.DESCRICAO, b.PVENDA, b.CODPROD, MAX(b.DATAALTER) FROM PCPRODUT a, INNER JOIN PCPRECO b ON a.CODPROD =…
-
0
votes2
answers683
viewsA: Transferring values from one page to another with Angularjs
Dude you can use the route, unless you have a very specific need to change the page and reload everything, Take a look at the example below: http://www.w3schools.com/angular/angular_routing.asp With…
-
1
votes1
answer26
viewsA: Security on a web system by checking other open content
Dude what you’re looking for is called Telemetry And there are several techniques and ways to capture this kind of information, some sites use plugins for this monitoring others make the…
-
2
votes2
answers2589
viewsA: Cannot implicity Convert type 'System.Collections.Generic.Ienumerable' to 'System.Collections.Generic.List'
Take off the .ToList() of the list and leave only on return Something like that: public List<TNotification> GetNotifications(TClient client) { var notificacoesClient =…
-
0
votes0
answers152
viewsQ: Changing the DPI of a C#image
Personal I am developing an app in WPF and at a certain point I need to convert the DPI of an image, as I do? I’m using the class System.Windows.Media.Imaging.BitmapImage And to load the image I use…
-
0
votes3
answers75
viewsA: Conditional for registration selection
is returning telemkt in place of sales pq telemkt has date and sales is null the function max will consider the date in that case by the data sample you can do the following, look for the ones that…
-
2
votes2
answers310
viewsA: Javascript prototype: possible to change value of reference object?
You have two ways to do this: If you use the this directly will be changing the ref obj. Array.prototype.empurre = function(valor){ this.push(valor); }; var UmaArray = new Array();…
-
0
votes2
answers1478
viewsA: How to verify the existence of a folder?
You can call right the mkdir, if the directory exists it will return -1, if the directory does not exist it will be created and returns 0 A detail I forgot to mention regarding the direct use of…
-
0
votes2
answers106
viewsA: Optimized javascript snippet writing (semantics)
This happens because of the hierarchy of the HTML structure, If your HTML is fixed, I mean its structure, you can use something similar to this: $(".mais").click(function(e) { $(this).hide();…
-
34
votes2
answers74027
viewsA: Configure shortcut in vs code for indentation
According to Key Bindings, in windows you use Shift + Alt + F On the Mac is Shift + Option + F And on Linux it’s Ctrl + Shift + i And if you want to customize, see these steps. Source:…
visual-studioanswered picossi 566