All Questions

2
answers

Receive int nullable in Razor (@ Html.TextboxFor)

I have a Carro object and I have an integer and nullable property called AnoInspecao . When creating, I can create a car object with the null inspection year (without typing anything) and persist in the database normally. var carro = ne...
asked on 03.12.2015 / 18:44
2
answers

Compare equal dates in javascript

With reference to these two questions: Simple Comparison Between Dates How to compare two dates in Javascript or jQuery I need to compare the dates and I need to distinguish three dates between two dates, either being equal or...
asked on 02.03.2016 / 13:50
1
answer

How to create a Radio button with image?

How can I make a Radio Button become an Image? I need to make a gallery of images inside a form so, clicking on the image would be selecting a radio button as in the image below:     
asked on 26.12.2015 / 23:28
1
answer

Simple National Consultation (by CNPJ) - C #

I am implementing in C # an Enterprise Query Opting for the Simple National Tax Regime through this link link I have already implemented another similar query (search the cadastral data of the CNPJ informed) and tried to base it on the same...
asked on 29.01.2016 / 20:17
3
answers

Correct cents in boletoPHP bank statements

I am using the BoletoPHP project to generate bank notes, but I noticed that the cents are not recorded properly, because when I buy a product with the value of for example, $ 245.00 plus the bank fee $ 2.95 , it correctly prints the value of $ 2...
asked on 16.12.2015 / 13:28
1
answer

Redirect output from System.out.println to JTextArea

I'm having trouble making this redirect, let's explain. I have a class called Engine.java , this class is responsible for doing my processing and it has all System.out.prints of the process, the problem is that now I created a windo...
asked on 16.02.2016 / 20:46
1
answer

Visual Studio or Eclipse code review rule

I would like to know if there is an add-in for visual studio that guarantees that while I am in the development environment make some changes but when I generate the project build, this commented part is reviewed warning me that in production wi...
asked on 03.02.2016 / 20:00
2
answers

How to solve accentuation problems when using the setlocale function?

I'm trying to set the program language to Portuguese, using setlocale(LC_ALL,"Portuguese") , however, much of the program was done in Ubuntu. When the other programmer sent me the files and when I am going to compile using mingw32-make to...
asked on 08.02.2016 / 20:45
2
answers

How to leave responsive source?

How do you make the text size responsive and fit different screen sizes? I tried using em units but it did not work. I've tried using Media querys: EX: @media(max-width:768px){font-size:1.5em} I've tried the target / context...
asked on 24.12.2015 / 15:07
1
answer

Rounding Up - C #

I use a program to correct my inventory of the sped tax file that I submit for revenue. But I'm in trouble because unitary products are coming out with broken value. Example below, the product had (50) units after I step the program it gets b...
asked on 18.12.2015 / 19:24