All Questions

0
answers

insert with validation in SQLite

Hello I have a database in sqlite and it happens that I must add fields to a table that contains an id "integer primary key unique", the id can not be increased by other issues. The data that I add to the table I download from a webservice, now...
asked on 02.10.2018 / 03:11
0
answers

Sum of new fields within a foreach

please help me, I need to add the new fields of a foreach since it will modify the current amount that comes from the query, I leave my code in case someone can help me please. <script type="text/javascript"&...
asked on 28.09.2018 / 14:25
1
answer

Cancel key events in JavaFx

I have a JavaFx application whose main window has several buttons, I have assigned actions to the keys ENTER and ESCAPE with a code like this: scene.setOnKeyReleased((KeyEvent keyEvent) -> { System.out.println(" -> "...
asked on 14.09.2018 / 23:30
0
answers

Foreign key registration

Good morning To start work on laravel 5.5, I have two tables, one where I have an administrative user, and another where voting users are added, when I register a voting user I see this error, SQLSTATE[HY000]: General error: 1364 Field 'us...
asked on 27.09.2018 / 23:58
1
answer

Run 3 queries in JAVA

I want to make 3 queries within a method in JAVA in order to assign a serial number to my record that has the ID number as consecutive, this is my code. public void guardar() { String erp = jComboBox1.getSelectedItem().toString(); String...
asked on 12.09.2018 / 23:44
2
answers

FATAL EXCEPTION: main. Error creating a Recyclerview adapter

I am creating a separate adapter and holder to display three data in a Recyclerview. But when I run the application I get an error. Adapter: public class AdapterProd extends RecyclerView.Adapter<HolderProd> { private ArrayList<Item...
asked on 25.09.2018 / 16:29
0
answers

Tabledit with jquery does not work well

I'm trying to learn how to create editable tables with jquery.tabledit.min.js but I'm really not aware of where my judgments are failing. My table "testC" is: id fisrt last 1 juan a 2 pedro b 3 diago c and my index that I am try...
asked on 21.08.2018 / 17:33
3
answers

call a javascript function in angular

import { Component, OnInit,Input,OnChanges} from '@angular/core'; import { NgForm } from '@angular/forms'; import {objClass} from '../ObjClass'; import * as convert from 'xml-js'; @Component({ selector: 'app-wsdl',...
asked on 19.07.2018 / 21:12
1
answer

How to increase waiting time Session asp.net c #

Good I'm doing my project so that lasts 2 hours the session is to say an example. that if the user enters and leaves after 2 hours, it should not be closed. Currently every time that 45 minutes passes when the client makes or goes to another tab...
asked on 06.08.2018 / 21:32
1
answer

Error in SQLite query? "No such table: Table (code 1):, while compiling: SELECT Field from Table"

Hi, I have a database in SQLite , and I'm trying to query a field integer called Type to make a comparison with the cases of a switch , but it shows me the error:    no such table: Table (code 1):, while compiling: SELECT F...
asked on 21.08.2018 / 15:30