All Questions

1
answer

How to get a C # Liststring and send to a JS variable?

I'm developing in an Asp.net C # project and I'm not sure how to get a list of strings from my class on the page. How do I get these values? Code that I've used. var pontos= rota.ObterCordenadas(this._gvConsultaCheck, txtDtInicial...
asked on 29.04.2015 / 15:38
1
answer

Mapping Code First with Data Annotations

I'm creating a project using DataAnnotations mapping with Code First (similar to Hibernate ), without using FluentAPI . It turns out that by implementing this process, some exceptions are being raised and I believe it is due t...
asked on 21.06.2014 / 03:10
2
answers

Determine the direction of the scroll in an element

The code below aims to detect the direction of scrolling in a specific element: var control = 0, lastScrollTop = 0, element = document.getElementById('idDoElemento'); element.onscroll = function() { var scrollAmt = element.scrollTo...
asked on 02.04.2015 / 19:22
1
answer

Difference between Library and Helper

What sets the helper of a library ? For example: Let's say I have a class for URL handling. I call her and she fills out the URL with the site path. Would this be a helper ?     
asked on 18.03.2015 / 19:36
1
answer

Send bulk email using Amazon SES

I'm developing a system that should send bulk emails using the Amazon SES service. How the upload is done To send mail, I'm using PHP Mailer, with the following code: $mail = new PHPMailer; $mail->isSMTP();...
asked on 20.03.2014 / 17:55
1
answer

Backup of all tables except one

In MySQL we can perform terminal backups as follows: Database mysqldump nomeBaseDados > meuFicheiroBackup.sql Table mysqldump nomeBaseDados nomeTabela > meuFicheiroBackupDaTabelaX.sql How can I back up all tables in my nome...
asked on 17.10.2014 / 21:28
1
answer

Intercept AJAX requests

I have the following question, how can I do to "intercept" AJAX requests before they are done? For example, in some forums while constantly browsing requests are being made without our knowledge, another day I was in a forum and I decided to...
asked on 06.06.2014 / 23:12
2
answers

Using multiple classes in a single CSS declaration

I'm learning a bit about CSS and I came to a question, so .header .menu .style-fonte {} Why does the 3 names of a class header menu and style-fonte ?     
asked on 01.04.2014 / 23:50
2
answers

How does the file receive the $ _POST?

Good morning, I have to do maintenance on an old form and I'm trying to understand how it works ... Below the file form_proposta.php <? $msg = "Mais informações de imóvel enviado em " . date("d/m/Y") . ", os dados seguem abaixo: " . chr(...
asked on 22.09.2014 / 15:09
1
answer

When should I use Data URI?

Data URI is that feature that allows me to put small inline images in CSS or HTML to reduce the number of requests. It's an alternative to the CSS Sprite. I did some testing here and I really enjoyed the performance. My question is a...
asked on 18.06.2014 / 13:10