All Questions

2
answers

How do I update an item from a generic list?

I'm trying to change the name and email of a certain item from the list below, but found no way other than to remove the item from the list and add it upgraded again. Is there another way to update? class Program { static void Main(string[...
asked on 16.09.2015 / 20:48
2
answers

Use global variable in more than one js file

I have the file GeraGridDados.js and in this file I created a global variable and a function. nomeTela = ""; function redirecionaTela() { //redireciona para tela que chamou a tela de Dados. location.href = nomeTela + ".html"; };...
asked on 08.12.2014 / 14:15
4
answers

Subdomain for files, Site Optimization

Well, I've heard that for a greater number of parallel downloads the indication is to put them in a subdomain, and even a fact that cookies do not go in the request would also make it faster. At last, truth or myth, how far can this practice h...
asked on 09.06.2015 / 02:34
4
answers

Generate and download links programmatically

There is a database of the National Water Agency that can be accessed by Hidroweb . To download, just go to:    Hydrological data > Historical series and include the code of the desired rain gauge. When chosen the code and type...
asked on 25.04.2015 / 22:57
2
answers

Make a sub-domain or create a sub-folder?

Today an SSL certificate vendor informed me that my site.com.br/intranet is not secure, that the correct would be intranet.site.com.br is this true? Does it make any difference to a sub-domain instead of a sub-folder?     
asked on 22.06.2015 / 20:56
3
answers

Checkbox style with subway style

I need to change my checkbox so that it is identical to the following image: It should look like this when it is marked, when it is not marked, it removes the entire border and appears at the end. I did not insert code because I coul...
asked on 13.08.2015 / 19:32
3
answers

How to call a JS variable for an HTML h1

I have this little FIDDLE to exemplify my problem. HTML <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> </ul&...
asked on 24.04.2015 / 13:17
1
answer

How to define pre-defined types in MySQL?

In the site I'm developing, I'll have, for example, a registration form where the user must define their gender in a combobox (male or female). The users table in the database will have all user fields as string , date , float...
asked on 16.08.2015 / 19:04
3
answers

"Clean" way to modify the "visible" attribute of a PictureBox

I have 5 background images for my application that will be visible to the user's taste. What is the simplest (clean code) way to make the user choose? private void radioButton1_CheckedChanged(object sender, EventArgs e) { pictu...
asked on 29.05.2014 / 01:47
2
answers

How to refresh page and not send duplicate data to the bank in PHP?

I would like to know if someone has an example or can explain me in the following question: In case the user refreshes the page, after submitting the first form, the data is not sent back to MySQL. My application is in PHP, I already resea...
asked on 03.03.2015 / 02:23