I have the following table in the Postgres database:
CREATE TABLE customer
(
userid character varying(30) NOT NULL,
firstname character varying(30) NOT NULL,
lastname character varying(30) NOT NULL,
balance double precision NOT NULL,...
I created an object that accepts a list of any type, like this:
class Grid<T> {
private Integer count;
private Integer offset;
private Integer limit;
private List<T> list;
private T tipo;
public Grid() {...
I'm new to AngularJS, I would like to understand what the $ scope.answer really is for, I did not find anything in the official documentation or the web, I just saw it in an example I took in a tutorial, but I did not understand the importance o...
How do I display Latino characters as content for a web page?
This content to be displayed is written in java, which should encode it correctly and return a String with values to be written to the server.
I'm using the URLEncoder class...
I'm trying to create a UrlHelper as follows:
UrlHelper urlHelper = new UrlHelper(HttpContext.Current.Request.RequestContext);
I have already made reference to System.Web , as I saw it as a solution in several places.
using System.We...
I would like to know if it is possible to allocate a atributo of a struct , follow my struct example:
struct MinhaStructExemplo
{
int * atributo_quantidade; /*Atributo que eu gostaria de alocar na memoria*/
};
For the...
In an array, example [1, 2, 3, 4, 5, 2, 2, 3] , which logic, methods and functions I can use to get the value with the highest occurrence, as in this example 2 .
I am generating a PDF file and use HTML5 to display it on the screen:
$("#conteudo-pdf").append('<object data="' + meuData + '" type="application/pdf" style="width: 100%; height: 100%"></object>')
Content is displayed correctly...
I have the following situation:
To perform an authentication, I am using the old method for a small application, for assigning levels (roles), as many examples that have the web apart. I use EF and Postgres to access / write data and the Flue...