Posts by António Campos • 159 points
7 posts
-
0
votes1
answer22
viewsA: Save data from a datagridview to a database
For each insert you must have a query execution, ie each time you want to do the Insert you create the command, assign the parameters and execute, In your code the solution would be to pass the…
c#answered António Campos 159 -
0
votes1
answer343
viewsA: PHP: Questions about front-end and back-end input validation
For always Back End security, Front End validations are easily exceeded. For example if you implement client side validations in Javascript easily the user can disable Javacript and there is your…
-
2
votes1
answer41
viewsA: Search only one record type in the database and show in Datagrid
You have to use in your query another filter to bring you only the assets, assuming this is already marked in the Product table. string strSelect = "SELECT * FROM Produto WHERE Nome LIKE (@Nome) AND…
-
1
votes1
answer44
viewsA: Send more than one string to serial
You will have to save the previous value to compare with the current one, the Previousdirectionrotation variable will have to be set within a Scope in which the value is not "lost" between requests…
-
0
votes2
answers57
viewsA: There is a difference between connecting to the database using a class and the visual studio: Tools>Conect_to_database?
Serve for different things in Visual Studio links to the database to create and administer it (create database logic as tables relations etc...). In your app you will call to enter and process the…
-
1
votes1
answer55
viewsA: Check if a user has already activated their account by email, otherwise remind them to activate
Logic will be something like: In the database in the user table, the field, for example, user_ative=false and when the user activates the account changes to the user_ative for true... During the…
optimizinganswered António Campos 159 -
2
votes1
answer450
viewsA: Install wordpress plugin on local machine
you can download the plugins to unzip and put in the "wp-content/plugins/" folder, then just activate directly in the admin panel, or add the next line to wp-config.php define('FS_METHOD',…