All Questions

2
answers

How do I store an array in a string? [duplicate]

Example: string x; string[] y = {"5", "0","0","5","5"}; x = "50055" I want to put everything together into one variable. I will store in a non-print variable.     
asked on 18.11.2017 / 22:18
4
answers

As a tag on an element of a table with jQuery?

I have a simple table: table { border-collapse: collapse; } table tr td { border: 1px solid #000; } mark { background: yellow; } <table width="300px" border="1px" bordercolor="#FF0000"> <tbody id="qtdPrecos"&...
asked on 26.07.2017 / 13:59
3
answers

Capturing the user's real IP

How do I capture the real IP / Public IP of the user who is accessing the application? The IP of the computer I can capture normally, but I want to know the public IP of that client.     
asked on 03.09.2015 / 22:23
2
answers

Logic to validate free time in agenda

Good evening! I've been stuck for a couple of days in the following situation, I'm not able to parameterize or create an expression that validates interval between dates, which works like this: In other words, if you already have a s...
asked on 17.11.2017 / 01:25
2
answers

How to convert string (in Portuguese) into date?

I have data.frame with a column (month) that represents the month and year of each remark that is in the form of a string. I would like to modify it to date so I can use the proc in excel with date. How can I do it? mes...
asked on 26.07.2017 / 16:31
3
answers

How to create and remove divs with inputs dynamically with jquery

I need to dynamically create and remove div´s for a form that I have, I already did using table, but now I was asked div´s . I tried to make an adaptation but I could not, what I need is to create a button to insert div´s and...
asked on 21.11.2017 / 20:42
3
answers

Update based on a select

I have to update the custo field of the pedidos table based on the valor field of the produtos_pedidos table. Since the a.id of the pedidos table must be equal to the b.id_pedido field of the...
asked on 28.07.2017 / 20:20
3
answers

Function within JQuery what is the order of execution?

I have a function in jquery that has a while that writes data to the database, and after this while it prints to console that the data has been saved, the function looks like this: function gravaDados(){ var qtde_linhas = 6 //ele pega a quanti...
asked on 02.10.2017 / 13:56
3
answers

Transform SetInteger into SetString

I need to store a Set<Integer> within a sharedpreferences, but it only accepts Set<String> , can you do that conversion? Set<Integer> checados = group.getCheckedIds(); prefeditor.putString...
asked on 23.11.2017 / 23:27
2
answers

How to execute the INSERT only if the record does not exist?

I would like to use something like this in SQlite insert into table (column) values ('')if not exist;     
asked on 10.12.2017 / 13:35