All Questions

1
answer

Insert data into a table from a Java form (Netbeans + SQL Server)

I have a form created so that you can enter data on a client and from that form open a button with a button that has the data, so far I have been able to make the button connection. Now my question is how can I send the form data to the table .....
asked on 03.06.2015 / 16:29
1
answer

Changing Routes with Asp.Net MVC

I'm trying to change a route in my project, the control looks like this: public class TagController : Controller { // GET: Tag private MYEntities db = new MYEntities (); [Route("tags")] [OutputCache(Durat...
asked on 30.05.2015 / 03:36
2
answers

SQL Server - Doubt update and relationship between tables

I have two tables, one call coletor , and another call material , I have a proc called cadMat , which was to register material in the database and by cpf (parameter of proc) put as name of collector the materials that it...
asked on 21.05.2015 / 13:18
2
answers

Graph possible paths python

I have a dictionary, where the key is a vertex and the value is a list of vertices adjacent to the vertex (key). dic = {'A':['B,'C'],'B':['A','C','D'],'C':['A','B','D'],'D':['B','C']} What I want is an array of all possible paths (from one...
asked on 05.06.2015 / 01:57
1
answer

Problem loading image in HTML (Performance)

While the script is downloaded and run, the entire parser process of the DOM is blocked, this prevents rendering of the rest of the page. And this applies to every script tag on the page. OnewayIfoundto"work around" this problem was to put all J...
asked on 08.06.2015 / 14:26
1
answer

How to avoid duplication of content in a table without a primary key?

In a virtual store panel that I am building the products have relationships by color and size, where each product color has a size. This is a part of my database for a better understanding of the problem: link When the user wants to associate...
asked on 20.05.2015 / 16:44
1
answer

HTML Print - PHP

Next ... I have an HTML structure formed by TABS, the style of these link: link However, when printing with Ctrl + p, it only calls the TAB that is Active. How do I print the contents of all TABS? <div class="col-md-6"> <div cla...
asked on 20.05.2015 / 19:57
2
answers

Programming for Android with multiple screens

When I program to Android , I think of portability with the most diverse devices on the market. Seeing the layout of my Activity principal , I noticed that on small-screen devices (I did the 2-inch screen test) the views are HUGE...
asked on 06.06.2015 / 01:49
1
answer

Container that adjusts to 100% height and width of window size

I wanted to create a container or a secção that automatically adjusts to the size of the height and width of the screen, which even when resized the secção suits the size of this, followed by another type of content just bel...
asked on 20.05.2015 / 03:24
1
answer

How to work with Ajax with JQuery?

I have the following function: function getJson() { $.ajaxSetup({ async : false }); $.getJSON(baseURL + "/ObterCursos", function(data) { $.each(data, function(key, v...
asked on 09.06.2015 / 04:43