All Questions

1
answer

Implement DataTables.net

I am implementing DataTables.net but it is not doing the paging, I am working with ASP.NET MVC 5, the code I handle is as follows. @{ ViewBag.Title = "Proveedor"; } <h2>Proveedor</h2> <html xmlns="http://www.w3.org/1999/xhtml"&...
asked on 14.02.2017 / 18:39
1
answer

Loop syntax when it has no results

I have a loop that runs through an array that comes from a multiple select and stores the results in mysql. The fact is that there is the option that this select does not exist, so the loop does not make sense. I have tried to enter a conditi...
asked on 30.01.2018 / 21:49
1
answer

Problems with a trigger

Hi, I'm trying to make a trigger with a simple update. delimiter // CREATE TRIGGER 'reCalibrados' AFTER INSERT ON 'calibrationtbl' FOR EACH ROW BEGIN UPDATE calibrationtbl SET state='1' WHERE idInteva= (SELECT idInteva FROM...
asked on 17.02.2017 / 19:13
1
answer

Send image to the server with MultipartEntityBuilder and HttpURLConnection

I am trying to send an image to the server using HttpUrlConnection and MultipartEntityBuilder. The problem is that when I execute the background function, to send it and get as a response a String that says on the part of the server that has bee...
asked on 15.02.2017 / 18:40
1
answer

aapt.exe finished with non-zero exit value 1 Android Studio

I updated my Android Studio from version 2.3.3 to version 3.1. He gave me several problems that I solved. However, there is one that has been impossible for me. The error says like this: Process 'command 'C:\Users\User\AppData\Local\Android\Sd...
asked on 29.01.2018 / 18:25
1
answer

Error in 'semicolon' sintaxys and expected input end

I would like help to solve this trigger that throws me errors in the VALUES line says    "syntax error: missing 'semicolon' ' And in the last line in the END appears    "syntax error: extraneus input found - expected end of input ......
asked on 20.02.2017 / 04:41
2
answers

how to save the values in an array?

//+=================================================================== // // Acerca del programa : // 29. Matriz 4. Elaborar un programa que cree una matriz y // que le muestre al usuario un menú con tres opciones: 1) Insertar un elemen...
asked on 29.01.2018 / 01:11
1
answer

Varchar as Primary Key

Hello I made a database based on a project I found on the Internet to do a REST.   The problem I have is that the Primary Key is type varchar and I can not auto-increment it since Mysql will not let me. I have to do the manual insertion....
asked on 29.01.2018 / 16:30
2
answers

Open file from another location by relative path

I need to open a file that is in another directory that is being worked on, I tried with: open("../carpeta/subcarpeta1/subcarpeta2/archivo.log") but when I run the script I get:    FileNotFoundError: [Errno 2] No such file or directory:...
asked on 30.01.2018 / 04:27
2
answers

execute javascript in python

When accessing a web via python, is there a way to show the response code of a javascript? what the user sees I have this: import mechanicalsoup browser = mechanicalsoup.StatefulBrowser() print(browser.open("https://www.web.com/")) print(br...
asked on 31.01.2018 / 22:07