All Questions

4
answers

Android: Remove data from an Object ArrayLIst

I have a problem extracting data from an Object ArrayList. This is my object public class ImageData { private int id; private String name; private Bitmap bitmap; private String path; public int getId() { return id;...
asked on 19.12.2016 / 17:13
4
answers

Add a complete html to a div

How about, I'm trying to add an html file to a div <!DOCTYPE html> <html lang="en"> <head> <title>Inicio</title> </head> <body> <div> <!-- este div donde agregare un html--> &l...
asked on 05.05.2016 / 20:56
2
answers

Iterate a list and save it in a file

I am trying to iterate a list and then save it to a file .txt with open/write . lista = ['uno', 'dos', 'tres'] mi_path = "../fichero.txt" f = open(mi_path, 'a+') for i in lista: f.write(i) f.close() I give the attribut...
asked on 12.07.2017 / 11:59
2
answers

For N nested loops in C

Good morning, I'm starting very little in C, trying to learn well from the base. I've been thinking about a simple script for too long, since I do not quite understand why its output, which is the following: * ** *** **** ***** The scrip...
asked on 28.09.2016 / 11:58
3
answers

There is the Insert Update in MySQL

I would like to know if there is an Insert Update instruction in MySQL, something that would know that if that record already exists in my table, update it and create a new one, and if so, how is it handled?     
asked on 19.10.2016 / 18:54
3
answers

How to put a text and image as a header in Itextsharp PDF document

Hello, I'm all working with Itextsharp and in the pdf document that I already have, I want to add a title as a heading and next to it an image of the company but it does not work out as I want. This is what I did. but it does not work: Parag...
asked on 05.01.2017 / 20:37
4
answers

Initialize variable string

How can I initialize an empty string whose value is "" but in this line of code: Presenter.OnRazonSocialChanged(txtRazonSocial.Text); I had solved it in the Presenter's constructor in the following way: public ProveedorPresenter(Proveedor...
asked on 03.06.2016 / 02:58
5
answers

I try to open a modal but it does not work

Good day, I have a modal which when clicking on an image does not activate, the truth already check the code I can not find the error. The code I use is the same one that I had already used on another occasion but now it does not work for me. If...
asked on 09.06.2017 / 16:08
5
answers

How to add the values of the same arrays positions?

I want to add the values of the same positions? Here's my fix: var arr1 = ["1","2","3","4"]; var arr2 = ["2","1","3","4"]; The result must be: var NuevoArreglo = ["3","3","6","8"]; I'm waiting for help.     
asked on 28.06.2016 / 19:56
2
answers

Difference between querySelector, querySelectorAll, getElementbyId, getElementbyTag

I would like if someone could explain to me very easily what are the differences between these 'selectors' since I am struggling to understand them! Especially among the querys and the get element. Thank you very much!     
asked on 03.09.2016 / 22:54