All Questions

1
answer

Get id of a laravel combo

I'm working with LARAVEL I have a foreach that uploads stuff to me from my database in a view. I need to select a subject to send your id to another view ... What he does now is that when selecting different subjects, he loads the same id, an...
asked on 07.11.2017 / 06:07
3
answers

Angular4: Why does not http request the service?

import { Injectable } from '@angular/core'; import { Http, Headers,Response } from '@angular/http'; import {Observable} from 'rxjs'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/catch'; @Injectable() export class LugaresService {...
asked on 07.11.2017 / 10:24
1
answer

Characters with tilde in a char type arrangement

I have this code: include <stdio.h> define TAM 64 int main(int argc, const char **argv) { char cadena[TAM] = {0}; while (fgets(cadena, sizeof(cadena), stdin) != NULL) printf("%s\n", cadena); } When I run it in the...
asked on 19.10.2017 / 15:42
3
answers

filter data in the datagridview that is already loaded c #

I currently have a grid that is automatically filled when I open the form, but when writing in the txt (code of the extinguisher) I need to filter in the grid depending on the id_extintor with the data already loaded in the grid (without c...
asked on 24.10.2017 / 19:44
1
answer

Repeat javascript cycle

Good evening, I have this view (the image) which is part of an invoice, precisely this is the detail of the invoice, and I have in this detail a javascript function so that while I write the name of the product I search the product in the databa...
asked on 06.11.2017 / 03:03
1
answer

Show an alert before the refresh action?

What I'm looking for is the following: At the moment when the action is triggered to refresh the page, a message like this appears before me: swal({ title: "Se perderan los datos", text: "¿Desea refresca...
asked on 23.10.2017 / 15:08
2
answers

Problems when moving DC motors

I have a Raspberry Pi with a web server where there is a joystick. I have programmed a script in python that is responsible for translating the position of the joystick to the speed that the DC motors have to have for the car to turn as indicate...
asked on 21.10.2017 / 22:20
1
answer

Use of AddressOf in C # without delegates

I have an external dll that I have to use in C #. This external dll has a method to which a pointer to a method of my code is passed. In the old code the function AddressOf of VB was used but now I have to do it with C #. All I've read is using...
asked on 19.10.2017 / 13:56
1
answer

Incorrect datetime value in MySQL

I was trying to register using a query in c # the datetime.now in a MySQL database What I do in c # is: cmd.CommandText = "INSERT INTO cola_llamadas(fecha,queueName,cola)" + "VALUES(DATE_FORMAT('"+DateTime.Now+"', '...
asked on 24.10.2017 / 14:48
1
answer

diamond operator is not supported in -source 1.5

I have the following code which shows some products in a combobox <%@page import="java.util.List"%> <%@page import="java.util.ArrayList"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html&...
asked on 24.10.2017 / 18:23