Posts by Antonio Gomes • 117 points
5 posts
-
0
votes1
answer179
viewsQ: Colorize Datagridview with comparison C#
I wonder if there is any way to color datagridview line without using a loop. I have a minimum stock and when available is below the minimum would like to paint the red line. I did it that way, but…
-
0
votes1
answer417
viewsQ: Transfer fields from one table to another
Good morning, is there any way to transfer the fields to more than one table? I have an outdated database and need to create the new fields in several tables. Is there any query that does this, use…
-
2
votes1
answer4309
viewsQ: Subtract date from datetime
I need to take current date and subtract 3 months. Bang making conversions and subtracting 3 but will go wrong to turn the year, in January for example will result in month -2. I believe that there…
-
6
votes1
answer623
viewsA: Change default printer c#
It worked that way, follow the code, thank you! using System.Drawing.Printing; using System.Runtime.InteropServices; private void trocarImpressora() { ArrayList impressoras = new ArrayList(); int i…
-
3
votes1
answer623
viewsQ: Change default printer c#
I am working on a solution where I need to change the default printer for a label printer to print and return to the previous standard printer. Would anyone have any solution to this?