All Questions

2
answers

Is there a way to save types not listed in Settings.Default?

In a Windows Forms application I can create configuration properties. HoweverthereisnotypeList<T>orDictionary<TKey,TValue>.Clicking"Browse" and searching mscorelib > System.Collections.Generics I see only the type KeyNotFoun...
asked on 01.01.2014 / 18:05
4
answers

Internal navigation with JQuery [duplicate]

I have the following structure in my header: <header> ... <div id="header-reserva" class="cf"> <a href="#header-reserva-iframe" class="scroll">Reserve aqui!</a> </div> ... <iframe id="header-reserva-ifr...
asked on 28.02.2014 / 14:59
3
answers

function $ .Ajax () return value?

this is the code: var res = VerFileRepetidoBancoAjax( "teste" ); console.log("res="+res); function VerFileRepetidoBancoAjax( str ){ $.ajax({ url: "caminho.", type: "get", dataType:"json", data: "dado="+ str, async:...
asked on 18.08.2014 / 17:05
1
answer

Configure Cronjob to run every 5 minutes when it is between 5 to 20 hours

I need to make a setup so my cronjob works every 5 minutes. However, if the time of day is before 5 and greater than 20 I do not want it to run. That is, I want to make a cron that runs every 5 minutes, but only in...
asked on 20.04.2016 / 20:04
1
answer

The name of the dt_ultimo_acesso column was not found in this ResultSet

I'm deploying a method by passing an id parameter: @RequestMapping(method = RequestMethod.GET, value = "/entidadesUsuario/{id}", produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity<Collection<Usuarios>> buscarEnt...
asked on 20.10.2017 / 17:27
2
answers

What major precautions should I keep in mind for my application to work correctly on different browsers?

I run small systems using xhtml, ajax, and php. When I code I'm testing the parts in the Chrome developer tool (Ctr + I) and phptester.net. When I finish my application, I have to debug everything again so that I can properly run Firefox and...
asked on 09.09.2014 / 23:37
4
answers

How to improve SQL performance with IN clause?

I have this SQL here: SELECT id, nome, url FROM categorias WHERE status = 1 AND id_ls IN (SELECT id_categoria FROM cliente_categorias) GROUP BY url What it does is fetch only categories that have clients assigned to them. My categorie...
asked on 15.12.2017 / 20:35
2
answers

Entity Framework Core x Entity Framework 7

What are the main differences between Entity Framework Core and Entity Framework 7? There are scenarios in which one is more indicated than the other. It's such a version and so much change of name that I'm lost.     
asked on 14.09.2016 / 05:22
4
answers

Can superclass become subclass?

I have the classes Versao , which is a general version, VersaoFirmware and VersaoSoftware . In practice the user can add one or more versions to an equipment. However, at the first moment, it is not yet known what kind of vers...
asked on 26.11.2014 / 18:51
2
answers

What is the difference between "String (1)" and "new String (1)" in Javascript?

Why in Javascript is it possible to call String as a function and also instantiating? See the example: var str1 = new String(1) var str2 = String(1) console.log("Valor é %s e o tipo é %s", str1, typeof(str1)); console.log("V...
asked on 28.11.2016 / 14:29