All Questions

2
answers

Find text in several directories [duplicated]

I have a directory with a project: -rw-r--r-- 1 dani staff 18K Mar 4 06:54 LICENSE -rw-r--r-- 1 dani staff 1023 Mar 29 08:06 Makefile -rw-r--r-- 1 dani staff 129 Mar 2 15:33 README.md -rw-r--r-- 1 dani staff 528 Mar 14 16:05 TODO drwxr-...
asked on 31.03.2017 / 17:50
4
answers

Problem in count php

I do not have an error in the connection, but it does not show me correctly the number of pending tickets that I am seeing in the system, try to change the values of tipo_solicitud = 1 && status = 1 to another but it keeps showing...
asked on 17.04.2018 / 21:58
4
answers

Validate a Checkbox with JQuery

I would like to know how to validate a Checkbox with JQuery in a small form. <form action=""> <a>Correo: </a> <input type="email" name="correo"> <br> <a>Telefono: </a>...
asked on 31.03.2016 / 21:19
1
answer

Errors when inserting records using EF

I have this method that receives a list of type VentasLinias and inserts each record in the database public void InsertLines(int idVenta , List<VentasLinias> listVentas) { foreach (VentasLinias vl in listVentas) {...
asked on 24.05.2017 / 17:31
2
answers

Center text of an HTML label

I have a problem, and that is that I'm doing a program with jquery, and for each box I'm using a label (teacher's requirements), but I can not center the letters on the edges, they're going towards the top edge. I leave the source code...
asked on 04.04.2018 / 17:01
2
answers

Error in foreach

As I recently started programming in .NET C # I still do not have much idea of how it works ... I have a table with 7 records in a database. But when I do a SELECT of that table from my class, it only takes the values of the last record ......
asked on 31.03.2017 / 16:55
5
answers

How to create a rectangle using asterisks in C # (for cycle)

(For) Create a program that asks the user for width (for example, 5) and height (for example, 4) and write a rectangle formed by that number of asterisks, eg: At the moment I have this: Console.WriteLine("introduce el tamaƱno de cuadr...
asked on 14.08.2018 / 17:16
3
answers

Create a JSON in Javascript

I have some data in some arrays in Javascript and I want to go through those arrays and put the values in a Json, I am tested this code and I am not able to create the Json. To check if I have created it I am trying to print a value in <spa...
asked on 26.03.2018 / 18:37
3
answers

Help with the logic of a query for MySQLi

Greetings guys I have the following sentence: $query = "SELECT * FROM pedidos WHERE usuario = '$usua AND status_pedido = 'ESPERANDO' "; Just as it works perfectly but I would like it to also select if the condition is met status_qualifie...
asked on 10.10.2018 / 16:10
7
answers

What is try .. finally used for without the catch clause?

I maintain an inherited system, and I have seen in many parts a block similar to the following: try { // aqui codigo } finally { // mas codigo aqui } My question is: What is the function of making a try .. finally , without the b...
asked on 12.02.2016 / 18:30