Interesting questions
-
1
votes1
answer2061
viewsDjango: Modulenotfounderror: No module named
I have the following problem between two apps, in which I call a model from an app (app1) in a view from another app (app2) Projeto ├ APP1 └ APP2 View from APP2: from projeto.app1.models import…
-
1
votes1
answer687
viewsOpen and close connection each time you run the looping
I have an application that runs a procedure, saved in a DataTable and then do a looping to add the data in an excel spreadsheet. My question is, if I open and close the connection to each insert…
-
2
votes1
answer514
viewsASP.NET MVC Post Date Format
I have a form that sends via post the search parameters, but the parameter of type date whenever it arrives in the action the month and day are reversed, for example, I put on the page the date…
-
7
votes1
answer171
viewsElement Rotation With Arrow
As you see in this image, inside the dark gray ball is a number. It’s 100. That means the pointer has to hit 100. If it’s 0, it has to be in the middle of the pointer. The issue is that this value…
-
-1
votes1
answer54
viewsSystem.NullReferenceException. How to include fields from another table?
Friends, I had a table Pessoa that contained a lot of user information. I decided to create a table Aluno to separate the information. My tables are like this: Person: Cod, Nome, Email, Senha Pupil:…
-
1
votes2
answers15896
viewsHow to stop an execution in Python?
I’m starting programming in Python and would like to know how to stop the program execution? In the language C for example, there is the equivalent command system("pause"). If I open IDLE, more…
-
2
votes3
answers548
viewsError using scanf("%[ n]") in sequence
#include <stdio.h> typedef struct person{ char name[100]; char address[100]; int age; } Person; int main() { Person pessoa; printf("Digite seu nome:\n"); scanf("%99[^\n]", pessoa.name);…
-
0
votes1
answer180
viewsAutomatic generation of Controllers and Views with . NET Entity Framework and Mysql
EDIT: I solved the problem below and others that appeared later. See my answer. I created a Business project using the Entity Framework (EF) Code First approach. I have a database in Mysql with 8…
-
1
votes2
answers1447
viewsHow to give space between the value and margin of an input field?
I own a field input of the kind text, but when typing something in this field, value is leaned against the edge of the input, such as changing the position of the input to get an edge?…
-
0
votes1
answer16
viewsJava Filter (Android) with Parsequery field type Pointer
How I would make this query, being that this field (product) is of the pointer type, which references another table (group)? ParseQuery<ParseObject> queryProdutos =…
-
0
votes2
answers60
viewsI would like a tip on checked, select option as I do to clear the fields if a person selects an option
Good morning I would like a tip on checked, select option as I do to clear the fields if a person selects an option <form method="post"> <input type="hidden" name="id" value="<!--#…
-
1
votes1
answer272
viewsHow to load array items into list box?
I have a TCheckListBox and when it is checked I store the options in an Array. I need that, by clicking on a "List" button, the Array elements (options marked in the TCheckListBox) are listed on…
-
3
votes1
answer304
viewsWhy does keybd_event not work in some contexts?
I want to understand why keybd_event doesn’t work in some contexts. For example, it does not work in games with League of Legends or emulated games on ePSXe. The following code: Keys key = Keys.Q;…
-
-2
votes1
answer608
viewsWhat is the difference between Mdbootstrap and Bootstrap?
I’m currently using Bootstrap, but having researched it, I discovered MDB. I saw that it contains more contact with programming language than Bootstrap, and I wanted to know the difference between…
twitter-bootstrapasked 5 years, 9 months ago Felipe Moreira 59 -
0
votes1
answer45
viewsAccess an array’s Indice value
How do I get the value of the array’s input in each interaction, without having to place the Permissionusuariofilter.Userpermissionid[0] dynamical and non-static Dice. I need the class to stay that…
-
0
votes1
answer327
viewsDisplay manytomany on list_display on Django
I am trying to display some items in manytomany in the list display on Jango, but it is returning an error, follow the codes: Models py. class Apenso(models.Model): usuario = models.ForeignKey(User,…
-
2
votes1
answer299
viewsExtract column text from a table
I have the following table structure: The field metadata is like text type, but I believe it is actually a JSON. When I do: SELECT metadata FROM maxpay.mp_pay_orders; The result is:…
mysqlasked 6 years, 11 months ago Layla Comparin 553 -
1
votes2
answers860
viewsMedia calculation using C++ Function
I’m doing a program where it calculates arithmetic, harmonic and podenrada media using a function called note in C++. At the time I compile the media result only returns 1. #include<iostream>…
c++asked 5 years, 3 months ago João Victor 19 -
2
votes1
answer189
viewsASP NET MVC authentication
What better way to separate permissions for logged in users? Would it be using annotations and roles? Because I want to release certain pages and certain functions depending on the permission of the…
-
6
votes1
answer292
viewsWhat’s the use of padding Bootstrap’s container?
What’s the point of padding of container of Bootstrap if the row has a margin negative that cancels this padding? If I want my entire page to have one padding so it doesn’t stick to the edge like I…