I'm developing a system using ASP.Net MVC and Entity Framework.
How do I not allow equal data to be written to a table? For example, do not allow login: x to be registered more than once.
How do I insert this data into the database using mysqli :
print $data->access_token."<br />";
print $data->username."<br />";
print $data->full_name."<br />";
print $data->id."<br />";
...
$conexao...
I created a table in Power Designer as shown below
create table BANCO
(
COD_BANCO integer not null auto_increment,
NOME_BANCO varchar(50),
AGENCIA_BANCO integer,
CONTA_BANCO integer,
GERENTE_...
Is query set with Where or other sql commands inside loops like Foreach good practice or not recommended at all? Is there a better way to handle the data without having to make so many calls in the database?
I usually update my site style sheet (CSS) a lot.
What happens is that my visitors see no differences.
Is there any script or something that forces cleaning?
Example: On next access the cache will be cleared.
Some cookie that makes the cache las...
I have some locations registered in the database and each of them has the longitude and latitude. When the user enters the site, I ask him to report his geolocation. I'm using the library PHPGeo to compute the distance between each, but how ca...
When creating a project with dotnet cli / em>
dotnet new razor -o RazorPagesContacts
How do I change the environment variable to developer mode when running the application using dotnet run .
Since no Startup.cs I h...
I woke up in the morning and gave a "Run" on top of the " cotacao " bank, the bank I'm currently working on. Then the login screen entered and when I logei the bank that received the tables was the master and not the " cotacao "....
How do I make a JavaScript to block the use of commas , within the field and at the same time also make an informed notification that only . is allowed and also verify that what the user entered is correct.
I do not have much Ja...