All Questions

1
answer

How to center a Modal Box in Horizontal and Vertical with CSS3? It's possible?

My ModalBox (modal-fade in Boostrap) is appearing at the top of the page! Can I centralize it in Horizontal and Vertical using only CSS3 ? If yes, what would be the right way? Follow my Modal code. <div class="container">...
asked on 27.11.2015 / 15:11
2
answers

Remove HTML tags

In terms of efficiency and performance, which code is the best way to remove HTML tags in a string? Option 1: string ss = "<b><i>The tag is about to be removed</i></b>"; Regex regex = new Regex("\<[^\>...
asked on 23.11.2015 / 20:13
2
answers

What is the difference between initializing a constructor or doing assignment inside the constructor?

What's the difference between the two examples below? Should I also assign the value inside the constructor in this class even though I have initialized? Example 1: class sof{ int teste; public: sof(int t) : teste(t){} ); Examp...
asked on 02.12.2016 / 02:39
1
answer

Get Penultimate record of a table with Entity Framework

How do I get the penultimate record of a table with Entity Framework     
asked on 30.11.2015 / 17:37
1
answer

How to make an HTTP GET request for a web service with Arduino

With a request via GET for a web service with Arduino , using the following URL and passing a parameter
asked on 01.12.2015 / 13:29
1
answer

Display the Average in an SQL query

I want to perform a search on a query so far I have only been able to display the total value of the logs.  the idea is to show the average spending. Then it would be the (total / quantity) but I could not mount the logic: what I have so...
asked on 25.11.2015 / 13:52
1
answer

Rename an element in a JList

Greetings, friends. I have a problem with Java. I'mtryingtoaddanelementoftype"Occurrence" in a JList. This element has 4 elements inside it, which I need to keep. So far so good. However, the problem appears when I add that element to...
asked on 23.11.2015 / 17:19
1
answer

doubt about displaying values and desfilerar in the Thread Queued?

How to display the correct values in the queue because it displays from the last to the first. #include <iostream> #include <cstdlib> using namespace std; struct Item { int dado; Item *prox; }; struct Fila { Item *hea...
asked on 21.11.2015 / 16:00
1
answer

Add row in a dataTable

I need to add a row in a table in a given position. I have the following methods: public void criarTabela(DateTime dia) { tabela = new DataTable(); switch (dia.DayOfWeek) { //case...
asked on 30.11.2015 / 03:03
2
answers

What is the best way to create a mobile application that communicates with a Webserver?

I'm developing a mobile application that should contain the same site content, and the same database ( MySQL mobile application. I believe that creating a direct connection from the mobile mobile to the remote database would be a securi...
asked on 01.12.2015 / 17:52