All Questions

2
answers

Using .Zip or linq in c # to add two fields from a series of objects contained in two lists

I have a list of objects List<Objeto> lista1; List<Objeto> lista1; Object has an attribute X and an attribute Y . I want to do the following: List<Objeto> listaSuma => add the values Y o...
asked on 11.01.2017 / 14:17
2
answers

Bootstrap table - reload records according to ajax json object

I'm creating a website with Bootstrap . Initially when loading the page I use PHP to insert the results in the cells of the table. So far so good. Then I use a button with a modal menu of Bootstrap which has a series of fields that are i...
asked on 04.01.2017 / 16:52
1
answer

SQL query that generates rows depending on quantity

I have a product table in MySQL, which stores the barcode and the stock quantity of a product. What I need is to generate an SQL query so that the rows can be repeated with certain information of a single product depending on the amount that...
asked on 11.01.2017 / 16:40
3
answers

How to clean a data to take another one in jquery?

I have a select in html that when I choose an option automatically by means of a ajax it goes to php and it responds me in json and it shows me the corresponding data of that id of the option I chose in...
asked on 02.01.2017 / 22:48
1
answer

npm does not install packages

I'm trying to install Electron, I've done it before but now when I do it (with clear sudo) it reaches a point where the console says:    node install.js and there is nothing else that happens ... when trying to close the console it tells...
asked on 17.11.2016 / 21:06
1
answer

How to replace a line break of a richTextBox with a space c #

Good morning ... I have a richTextBox in which I enter a text then that text I pass it to string , then that same string I put it in textbox . But when I assign that string to textbox the line breaks that...
asked on 17.11.2016 / 17:12
2
answers

Subtract product stock when making a Sale

I am working on a desktop application in Windows Forms and MySQL as a database manager. How do you rest in inventories when you make a Sale? That's the code I use for the save sales button. The data is added to a sale table, and the fi...
asked on 16.11.2016 / 15:34
1
answer

Get the dimensions of an image in Android?

I'm trying to work with the width and height of an image. I use this code to get the image, convert it into a Bitmap and then into base64. private void PickFile(){ Intent intent = new Intent(Intent.ACTION_PICK, android.provider.Medi...
asked on 21.11.2016 / 18:03
2
answers

Auntoincrementable in HTML

I have the following html code and what I need is for tb_header1 to increase the values of i , j en 1, and rangos go incrementing 1 the value of a (in each for ). {% for atributo in tb_header %} <td...
asked on 25.11.2016 / 03:53
2
answers

how to create an input type = 'button' in jade?

I have this code but when I click it does not redirect. What I can do? input.waves-effect.waves-light.btn-large.red.accent-3(type='button', onclick=location="'../formulario.html'", value="Registrarse")     
asked on 16.11.2016 / 12:36