Posts by Ibere Spadoto • 51 points
5 posts
-
0
votes1
answer33
viewsA: ASP NET CORE - Use Session to store lists to prevent BD access
Dude, what you should do is find a component for your front that manages the display of the backend data. A "datatable on Steroids". Then you call your data get API and it displays the top 10 while…
sessionanswered Ibere Spadoto 51 -
1
votes2
answers236
viewsA: While Ajax Jquery
Access your Sponse index via a for: responseData[i].Project The foreach also possible, you would need to see what content from Answer to mount an example code for you. Use the code passed by your…
-
1
votes3
answers639
viewsA: Install C# application with SQL Server database
In dev best practices with client-server database, you should store the connection string within the Web.config or App.config file. This is because, when you install the application on a second…
-
1
votes2
answers7609
viewsA: SQLSTATE[23000]: Integrity Constraint Violation: 1062 Duplicate entry '0' for key 'PRIMARY'
Duplicate entry '0' for key 'PRIMARY' This means that somehow your code is sending a PK to write to the bank, and this value already exists. To perform a test, try to delete the record that has ID…
-
2
votes2
answers314
viewsA: How to restore a database backup from a c#application?
There are many ways to do this. I suggest you create a service to execute the command, which when fired, closes all connections to the bank and executes the command. The command to be executed would…