All Questions

1
answer

How to import excel data considering the first row that do not have a header in C #?

To be able to import data from excel I use the following code: Foldername = Server.MapPath("~/Importados/"); fileuploader.SaveAs(Foldername + filename.ToString()); String conStr = ""; switch (Extension) { case ".xls": //Excel 97-03...
asked on 01.08.2018 / 04:54
1
answer

DataTables warning: table id = dataTable - Invalid JSON response (resolved)

I have the following code where I make a query. include_once 'conexion.php'; $sql = "SELECT * FROM herramientas"; $resultado = mysqli_query($conn, $sql); if (!$resultado) { die("Error"); } else { while ($data = mysqli_fetch_assoc($...
asked on 31.07.2018 / 15:02
1
answer

Pass data between different UserControls

I have the following schema mounted in Visual Studio (C # .net) The idea is to be able to bring the data from the Textbox to the UserControl2. I have tried instantiating UserControl1 and changing the level of protection of the Textbox to p...
asked on 02.08.2018 / 17:26
3
answers

validate login (login) c #

I have a login form (user, password, permission) that has a combobox, which allows you to choose what type of user to start the session, depending on the type of user selected, validates the data from 2 different tables, but it gives me error:...
asked on 02.08.2018 / 19:38
1
answer

Slow loading yajra / laravel-datatables

Summary of problem or feature request Well I have a problem using DataTable in laravel, so I saw the problem is because I have a relationship and when calling the values of the relationship this is the one with an excessive delay I have 13...
asked on 27.09.2018 / 03:07
1
answer

Double reference to a MySQL table

I have a database in which the data of students who have passed from the baccalaureate to the university are stored, now the school has 5 seats and it is the case that young people who studied in a seat, are currently reporting or attending trai...
asked on 03.08.2018 / 01:06
1
answer

consult a single distinct with condition

I have a table with 4 columns id, descripcion_articulo, cantidad, modelo, marca and this query: ("select distinct descripcion_articulo from " . TABLE_ENTREGAS . " where numeracion = '' order by descripcion_articulo ASC") to generate th...
asked on 31.07.2018 / 13:28
1
answer

Unable to add header authorization: basic user: password (base16) vue-resource

I have an application in VUE in which I make requests to two APIs, one is mine and the other is from a third party, with mine I have no problems, I can authenticate and make requests correctly, in the main.js I put defect an interceptor that wil...
asked on 02.08.2018 / 19:27
1
answer

Detect the moment entered in an Entry

I'm doing a program that consists of a single Entry (). The thing is that I want you to immediately detect what is written and act one way or another. So when you finish putting the last character of for example "add", do one thing. I've t...
asked on 06.08.2018 / 16:17
1
answer

Problems with printing select with each

I am currently consuming a API , everything is fine but when I want to show the values in a select I do not print anything. La Api returns the following: { "producto": { "id": 1, "codigo": "PRO-0001", "nombre": "D...
asked on 03.08.2018 / 00:58