All Questions

1
answer

Because it does not give the sum of names in MySQL

I have the following: CREATE Table apellidos_completo (Completo varchar (255)) INSERT INTO apellidos_completo (Completo )values ('alvarez') UPDATE apellidos_completo set Completo = 'Rodriguez' + Completo I do SELECT SELECT * FROM apel...
asked on 30.06.2018 / 03:02
1
answer

Unable to read property when merging two entities into one

I am placing two models in one through a class that unites them, with the objective of assigning them value that I get from the DB but it generates an exception in the first line that reads the read() -> Test.Models.Modelo.Pagos.get re...
asked on 20.07.2018 / 22:37
3
answers

Locating objects in the middle of a form

I have the following code body {} .PrincipalForm { margin: 0 auto; border: 1px solid #666666; width: 310px; height: 600px; } .TblLogin { margin: 0 auto; } #usuario { width: 150px; } #password { width:...
asked on 10.07.2018 / 21:17
1
answer

Decorator with parameters in Python

I need to implement a decorator with classes or functions that receive parameters, like the following example @MyDec(flag='foo de fa fa') def bar(a,b,c): print('En bar(...) : ',a,b,c)     
asked on 11.08.2018 / 19:53
2
answers

How to horizontally align elements within a Media Object in Boostrap 4?

I am using the Media Object of Boostrap 4 for a comments module, I have added a button in it but I do not know how I can align it horizontally so that it sticks to the right margin. The desired result is the button in that position:...
asked on 06.07.2018 / 13:34
1
answer

Error when inserting in the Sql Server 2016 Database?

I have tried to store values in my database and I have run into a problem I am handling Laraver 5.5 and SQL Serve 2016 "message": "SQLSTATE[23000]: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]No se puede insertar el valor NULL en...
asked on 13.06.2018 / 15:37
2
answers

Doubt about Promises and async await?

I'm seeing the promises and async await in JavaScript. The syntax to generate both if I understand it and I can create them. What I do not understand is because we use async await if the promises are already created to generate asynchronous task...
asked on 17.10.2018 / 09:58
3
answers

What are the struct classes for in c #?

What are the struct classes in c # for, since I have seen the following: A class inPFile public class inPFile { public int P_Id { get; set; } public string P_Name { get; set; } public string P_Nick { get; set; } }...
asked on 08.06.2018 / 03:44
3
answers

Calculate exponent - Difference between pow () and **

As I said in the title, I found two ways to calculate the exponent in python and both work for me, a = 2 print (a**2) print (pow(a,2)) Both give the same, what is the difference? When to use one or the other? Health and thanks!     
asked on 08.10.2018 / 17:16
1
answer

Initial value of input type file from a FormControl

When I try to add an initial value to an input type file from FormControl I get the following error:    ERROR DOMException: Failed to set the 'value' property on   'HTMLInputElement': This input element accepts a filename, which may   ...
asked on 08.10.2018 / 12:42