All Questions

1
answer

define a function of an object in typescript

Good morning, I am new to Typescript and would like to know how I can pass my JavaScript code to Typescript, since I am rewriting my code in Angular 2. Example: var o = geotab.addin.addinangular= function () { 'use strict'; return...
asked on 11.04.2017 / 21:50
1
answer

Infinite recursive function

I have an infinite recursive cycle in Java public void infiniteLoop(Long x){ System.out.println(""+x); infiniteLoop(x + 1); } public static void main(String[] args) { StackOverFlow st = new StackOverFlow(); st.infiniteLoop(...
asked on 10.04.2017 / 15:34
1
answer

Error trying to insert dynamically in lists of c # (You can not add or insert elements in more than one site)

Well now I want to fill a listview with information from my Database, but I get the following error:    Can not add or insert item in more than one site. You must first   remove it from its current location or clone it. Current Code:...
asked on 07.04.2017 / 22:28
1
answer

How to take the value of two selects with the same name and that php receives them?

How could I take the value of two selects for PHP to receive them to be able to make a foreach and insert it in the database? since what is required is for a user to have two roles at the same time. that is to say that in...
asked on 06.04.2017 / 21:21
1
answer

How do I create a matrix in C with more than 294 elements, since it falls and gives: RUN FAILED (exit value 1, total time: 469ms) in NeatBeans

#include <stdio.h> #include <stdlib.h> #include <windows.h> double performancecounter_diff(LARGE_INTEGER *a, LARGE_INTEGER *b){ LARGE_INTEGER freq; QueryPerformanceFrequency(&freq); return (double)(a->QuadPart - b->Qu...
asked on 07.04.2017 / 03:50
1
answer

Why do I get this error when compiling my project in Windows?

Good morning, I am trying to compile my android project in Windows since the development of it was in Linux but when trying to run the application I get this message. I do not know if something similar ever happened to someone.  ...
asked on 04.04.2017 / 15:42
1
answer

Django - Modify widget Select custom list?

Very good, I would like to know how to modify my select with a modified query, I make myself explain ... models.py class Equipo(models.Model): nombre = models.CharField(max_length=200) color = RGBColorField() torneo = models.For...
asked on 06.04.2017 / 18:58
1
answer

How to create PK identity in temporary DataTable?

I'm working on a Windows Forms app, Visual Studio 2015. The scenario is that I have a DataGridView where I will enter items to a Detail, I will enter data from a product of a range of sizes that are worth a price, and the same product I will ent...
asked on 12.08.2016 / 16:08
1
answer

Place message of "No records exist" in statement prepared using search filter

Create a search filter using prepared statements (this checks which fields are empty or not in the search form and adds the variable representing that field as a AND for the query SQL , so that it builds the query: "SELECT * FROM...
asked on 06.04.2017 / 13:19
1
answer

load html element with id

I have to change a list html from javascript . my code is document.getElementById("my_element").innerHTML = "<li id="my_li">...</li>"; Apparently it works correctly and the block loads perfectly, but without the id....
asked on 09.04.2017 / 23:06