All Questions

1
answer

Listener in JavaFX

Good evening, I have run into a small problem when writing the code of an interface. The part of the code that fails is: final BooleanBinding activarComprobacion = campo1.textProperty().isEqualsTo(""); activarComprobacion.addListener((Observab...
asked on 19.04.2017 / 21:28
1
answer

How can this sql query be transformed in postgresql to query in django

Good morning to all: I have the following query in postgresql that returns the Id of the last contract that a worker has signed with a company in 2016 (from 01/01/2016 to 12/31/2016), as well as their paternal surnames and maternal, name, sta...
asked on 25.03.2017 / 13:16
1
answer

Use input () within a for cycle (Python)

I am trying to create a matrix in which the user enters the number of rows, columns and each term: colum=int(input('Cantidad de columnas: ')) fil=int(input('Cantidad de filas: ')) matriz=[[str(input('[',i,',',j,']-esimo termino: ')) for i in r...
asked on 30.03.2017 / 14:15
2
answers

Send image by mail using SQL SERVER 2012

Good, I would like you to help me, I am sending an email using SQL MAIL SQL SERVER which I get the email generated but now I want to attach an image for that I have a table that has a field that stores a Format image IMAGE . When I try...
asked on 12.04.2017 / 23:20
1
answer

Error in inRange () "TypeError: unknown is not a numpy array"

I am doing a motion detector program but I have an error in the following part of the code: rang = cv2.inRange(flow,20,255) Error: TypeError: <unknown> is not a numpy array Annex code: import cv2 import numpy as np cap = cv2...
asked on 26.03.2017 / 09:32
1
answer

window.open adding styles at the time of printing

I have a page in HTML of test and inside it a button which activates a function so that the page can be printed. How can I do so that at the moment of printing I respect my styles css on the page? This is the code of the butt...
asked on 24.03.2017 / 18:43
1
answer

Perform popup ASP jQuery C #

I want to perform as an alert but with jQuery, that is, if something bad appears that shows the alert as a popup . That is to say at this moment it does the validation but with a alert of JavaScript I want it to be more friendly f...
asked on 27.03.2017 / 02:49
1
answer

Body mass index - C

Write a program in C, which: Calcule el Indice de Masa Corporal de un individuo, solicitando su peso y su estatura. Si el IMC es menor a 20 indique "Peligro, estas bajo de peso" Si el IMC esta entre 20 y 25 indique "Felicidades estas en tu pes...
asked on 25.03.2017 / 18:40
1
answer

Sort linked lists (LinkedList) in c?

I'm doing a project in C, but I got stuck when I wanted to order the Nodes. I have methods to fill and eliminate the nodes, the problem comes when trying to order does not do anything, it leaves it as it is. When entering a user I assigned his n...
asked on 27.03.2017 / 03:34
1
answer

Error in method Include LinQ: Unable to load type 'System.Data.Entity.DbExtensions'

I have an application of WindowsAplication in C # , it is developed in N-Layers . The method in the data layer to get a table did not give problems: public List<styh_m_005_cultivo> GetAll() { using (var context = new TermometroDb...
asked on 24.03.2017 / 16:40