All Questions

1
answer

How to export a Datatable to Excel without formatting the information?

I need to export a number to Excel, but it always formats in an inappropriate way. Expected form: -8,0902322222234 Received: -809.023.222.222.234 Column data for Datatable is typed with string. Data is displayed in...
asked on 02.01.2016 / 00:14
1
answer

What is the name of the operator (double colon) in PHP?

In PHP, it seems that this :: operator has a Hebrew name (I do not know why someone would use Hebrew), Paamayim Nekudotayim . I have trouble always when I have to explain to someone the name of this operator, since I do not know...
asked on 10.09.2015 / 17:32
3
answers

How to get data from a tag and calculate?

I have a jquery question. Is it possible for me to get a value inside a <span></span> tag that in this case would be an ex:%. 5% and make the calculation of a discount on a value? Example: Iwanttogetthe5%valuethatisinth...
asked on 15.09.2015 / 14:23
6
answers

Error: Can not find or load the main class in Java (Eclipse or CMD)?

If you have ever encountered the error message: Erro: não é possível localizar nem carregar a classe principal probably will not be able to execute your codes in Java. In the eclipse I came across this message: Erro: não é possív...
asked on 24.08.2015 / 16:51
2
answers

Ask ExpressionFuncT, bool via parameter using object that is in a foreach

I have a template called Entity , this template has links (1 - N) with three other templates. public class Entity { // Outras propriedades removidas para brevidade public virtual List<SpecificInfo> SpecificInfo { get; set;...
asked on 03.06.2016 / 21:22
3
answers

Create database on the server via mysql-workbench template (.mwb) via command line

I'm trying to build a bat to create the database in the mysql server from a mysql-workbench EER (.mwb) model, that is, in command line, is it possible to perform this process? Could someone give a light? Editing: Opening it in cmd I have...
asked on 02.06.2015 / 19:05
1
answer

Functional Programming and Referential Transparency

Referential transparency ensures that given the same input values for a function, it will always give me the same return value. How would I have to do in the case of a function that accesses the database that has state, for example at the tim...
asked on 16.07.2015 / 01:57
1
answer

Is the __destruct method useful?

I read about the __destruct method on these two links: link link And I have not yet found the utility of the __destruct method, even more than @ user166390, (the user who answered the question of the 2nd link) said:...
asked on 23.12.2015 / 20:28
1
answer

Retry user and password attempts

I wanted a program that checks the user and password, if it was correct to display a message, if it repeated the check and if the attempts were equal to 3, it showed the limit message of attempts reached. #include <stdio.h> #include <...
asked on 02.05.2016 / 13:32
1
answer

Printing with path name saved in a table

I created a table called Funcionarios where I have at least 2 fields: ID and caminho_impressao . Where I put it, for example: C: \ Users \ user1 \ documents \ C: \ Users \ user2 \ documents \ So I tried to prin...
asked on 08.01.2014 / 12:46