All Questions

3
answers

ASP.NET MVC5 - Asynchronous Methods on the Controller

I'm developing an MVC layer for an ASP.NET system written initially in WebForms. It does not use EntityFramework, so a good part of the system I had to work out a homemade solution. In order to use Ajax's asynchronous methods with the MVC5 Co...
asked on 26.02.2014 / 20:14
2
answers

How to sum values from a grouped field by date?

SELECT funcionario_id, data, avaliacao_postura FROM equipe id funcionario_id data avaliacao_postura 1 1 2014-03-02 -25;-10;-5;-12 2 1 2014-03-01 -25;-10;-18...
asked on 10.04.2014 / 00:43
4
answers

Convert string to Time

I have a column in the database that receives a type varchar that corresponds to the hours in my application ( "HH:MM" ). I need to convert this string to a type TIME and then concatenate it with a type DateTime . Ha...
asked on 14.04.2014 / 16:52
2
answers

Upload problem in PHP

In an input of the type file, the tmp file is not being generated. This is the array generated by PHP Array ( [name] => desin3.jpg [type] => image/jpeg [tmp_name] => C:\xampp\tmp\phpE0D5.tmp [error] => 0 [size] => 30420 )...
asked on 06.04.2014 / 20:09
3
answers

How to call scripts in a Wordpress child theme?

I'm trying to put together a Wordpress template. What I can not do is still call the script in the child theme I created. CSS worked, but the scripts did not. There are several, and I got lost in how to put them in functions.php . I'm t...
asked on 20.02.2014 / 03:11
2
answers

How do I make the page print out the way it is viewed on the screen?

I need to make a page that, when the user prints, quit exactly as it is viewed on the screen (with styles), I'm using Bootstrap version 3.1. Is there a Javascript plugin that does this? The solution I thought was instead of getting the s...
asked on 14.04.2014 / 16:40
3
answers

How to create a plugin for jQuery's $ () function

I noticed that you can create plugins in various jQuery functions like AJAX, CSS (using cssHooks ), animate , create new functions, among others. But I thought if you could create a plugin for the service call function, for examp...
asked on 07.05.2014 / 00:13
1
answer

How to insert data into two tables at the same time?

I need to do an insert as follows: I have two tables TABELA 1 and TABELA 2 and a form of cadatro. This form has three inputs: input 1, input 2, input 3 input 1 must be entered in TABELA 1 . input 2 e in...
asked on 12.03.2015 / 16:15
1
answer

Difference between AnsiString, WideString, UnicodeString, ShortString and String and how to convert

While learning Delphi, I see implementations that use AnsiString , WideString , UnicodeString , ShortString , and String but do not know the difference between them. Another thing that always occurs to me is that...
asked on 19.02.2015 / 21:18
2
answers

How to make a site that fits between 970px and 1300px

I need to make a site that has a minimum resolution of 970px, but that fits up to 1300px wide. Searching, I found something like this: .container-fluid { margin-left: auto; margin-right: auto; max-width: 1300px; } But how muc...
asked on 07.04.2014 / 14:17