Posts by olavooneto • 69 points
8 posts
-
0
votes2
answers1367
viewsA: Conversion failed to convert varchar 'No' value to tinyint data type
Friend, try to make your code using sql Parameter, follow example var serverName = "LAPTOP-EVEJOG4C"; var databaseName = "MyDatabase"; var dataString = "Não"; using (SqlConnection conn = new…
-
0
votes2
answers1367
viewsA: Conversion failed to convert varchar 'No' value to tinyint data type
Buddy, good afternoon if the value you are trying to enter is an integer, try to remove the simple quotes from your code cmd.CommandText = "INSERT tabela_sacc (Morada_Fiscal_Igual_a_Morada_Local)…
-
1
votes1
answer163
viewsA: How to solve errors of these Code?
The minimum version of the framework supported by visual Studio 2012 is 4.5 may be that your project is using 4.5.1 or higher
c#answered olavooneto 69 -
-1
votes1
answer256
viewsA: The more queries in Mysql the higher the consumption?
good night the idea ai is very simple...the more condesada is your query (ie, the more data you can pick up at once) better, the biggest bottleneck that applications have today is the so-called…
-
1
votes1
answer1205
viewsA: How to show an image using javascript?
good night Have you tried to get ~ from the address ? everything will depend on the directory that is img if it is in a subdirectory of your web project just put Content/img/loading.gif
javascriptanswered olavooneto 69 -
0
votes2
answers1535
viewsA: Error running project in Visual Studio 2015 - Process with an id 7256 is not running
Buddy. Try this one: Closes all instances of Visual Studio Renames the Iisexpress folder in your user directory(e.g.: C: Users Olavoneto Documents) Adds the environment variable…
-
2
votes4
answers4228
viewsA: How to perform query with some null values?
I changed the name of the columns to test in my environment, the query below returned what you need: SELECT * FROM #usuario WHERE (nome LIKE '%Aarco%')AND (data IS NULL or data <= '01-15-2017')…
-
0
votes2
answers154
viewsA: Explanation in constructor method
good afternoon, let’s answer 1. The method has been declared static in order to be used within the class without the need to instantiate the class, as it is a method that always returns the same…