All Questions

1
answer

Direct my button to google maps on Android

Hello, I have been doing an APP, which is basically filled by a WebService, where I get all the information in it its latitud and longitud in this example of a school x, in my detail and put a map button is say that if you click on...
asked on 19.07.2017 / 15:12
3
answers

How to join 3 queries in sql?

How can I show the following 3 queries in a single selection? select Top 1 NumOperador, Rendimiento, SdFecha from trfRendimientos where (NumOperador = @NumOperador OR @NumOperador = 0) and (MONTH(SdFecha)= month(@FechaDesde) and YEAR(SdFec...
asked on 20.07.2017 / 15:02
1
answer

CASE optimized clause

I have to make a query similar to SELECT CASE WHEN (SELECT MAX(Fecha) FROM Tabla) > '01/01/1900' THEN (SELECT MAX(Fecha) FROM Tabla) ELSE '01/01/1900' END The problem is that the (SELECT MAX(Fecha) FROM Tabla) is runnin...
asked on 13.07.2017 / 08:21
2
answers

Export data to Excel from MVC5 view

I need to know how I can export the next table I have in a project view to an excel document. The table I want to export to excel is as follows: <table class="exampletb table table-bordered table-hover display"> <thead&...
asked on 15.07.2017 / 03:41
1
answer

Error in CSS with display block

I was doing a design for comments and I realized that there is an error when there is more than one comment, and it does not matter if I put them in different containers, the problem is that it creates a margin to the left. The container of the...
asked on 29.03.2018 / 17:14
1
answer

how to return a string in c

I'm doing a function to capture a string of alphanumeric and numeric characters I've seen several ways to be able to take the string back but I do not get it I leave my code if someone could tell me what I'm doing wrong. #include <stdio....
asked on 19.07.2017 / 14:56
2
answers

Swap rows by columns with duplicate values

I am working with the following data: data <- data.frame(id=c(1811,1811,1522,7121), pregunta=c("17", "17", "20", "21"), valor=c("13","2","12","15")) id pregunta valor 1811 17 13 1811...
asked on 27.03.2018 / 07:38
2
answers

Get the value Jquery of button with same id = 'remove'

Good day friends I have a problem, I have a foreach where I printed a botton with id="remove" with different value, I would like to press the button to send the value of that button and then process it with an ajax request and send that data per...
asked on 30.03.2018 / 20:19
1
answer

Call a function every x seconds

I'm doing a console application in VS2008. I have a function that I have to call it every 5 seconds, but until those 5 seconds pass the program has to keep running. I have tried to use thread, but I can not include it because my version of c ++...
asked on 17.07.2017 / 09:44
2
answers

return string in a function

eg income 20weight, and 1.80 height, you get imc < 18.50. and I want to return the assigned string in overweight in the function. to say in console, 'You are overweight'. #include <stdio.h> char calculoimc(float peso, float altura) {...
asked on 03.04.2018 / 21:06