All Questions

3
answers

Compare the first character of the text

I have a code, that if a function is given as a parameter the string: #elemento You will use a document.getElementById(); and if you receive the string of the form: .elemento You will use a getElementsByClassName();...
asked on 05.10.2017 / 00:23
1
answer

Data table with AJAX C # ASP.NET SqlDataReader

Hi, I'm working with ASP.Net / SqlDataReader / C # and razor I have the sig. complication ... I'm trying to show a table using AJAX but I'm not sure I'm doing it right, so I understand I have to make a method for my query to be stored in a list...
asked on 03.10.2017 / 21:17
2
answers

Stop a setInterval () in JavaScript

I am developing a number increase with setInterval (), and I want the setInterval to stop when the counter reaches a certain number. var cont = 0; var rango = document.getElementById('rango'); var id = setInterval(function(){ rang...
asked on 06.10.2017 / 22:22
1
answer

What does it mean :: in java?

Looking for how to sort a list of objects by a parameter I found this solution: lista.sort( Comparator.comparing(EntradaLoteVo::getFechaRecepcionLote) .thenComparingInt(EntradaLoteVo::getId)); And I'm struck by this: EntradaLo...
asked on 04.10.2017 / 15:29
1
answer

How to make a grid select the first record if it depends on another grid

I have a model, of the form: public class A { public ObservableCollection B col1; } Public Class B { public int BA; public int BB; public ObservableCollection C; } public Class C { public int CA; public int CB; } The fir...
asked on 11.10.2017 / 15:56
1
answer

Validate Data in c ++

I need to validate the numerical data entry in c ++, I am using: #include<iostream> #include<stdio.h> using namespace std; int main() { int dato; cout<<"Ingrese un valor para dato: "; while( ( cin>>dato )...
asked on 14.10.2017 / 11:53
1
answer

warning: assignment from incompatible pointer type

Where am I missing? int (*funcion_c)(void*,void*); int f_comparador(int* n1, int* n2){ //Implementación... } funcion_c=f_comparador; //WARNING     
asked on 09.10.2017 / 20:43
1
answer

Same question with different answer

Good morning: To work, take the essentials and it worked. $sql021x = "SELECT * FROM $t00 WHERE 00_idpac= '3' "; //$id el 3 reemplaza al $id sólo para no andar pasando por el buscador. To then include the join (which is not yet) I replaced...
asked on 11.10.2017 / 15:20
1
answer

Events that do not fire because they are null even after assigning them

In the following example class, an object with an observable collection is created and filled by default, assigning an event to each class of its elements. However, when making a change on the elements, they do not know what the listener of t...
asked on 02.11.2017 / 19:42
1
answer

Change KEYBOARD LANGUAGE in android studio

Dearly I am currently encountering some problems at the time of some classes that vary according to the keyboard that the phone has set, there is some way through the Android studio SDK to change the default keyboard of the phone, at least while...
asked on 07.11.2017 / 13:37