Posts by AugustoDeveloper • 16 points
6 posts
-
0
votes1
answer97
viewsA: C# Click and drag or use mouse scroll (Postmessage/Sendmessage)
I don’t quite understand the problem, but if what you need is something in which specific areas of your console need to have idenpenedente scroll, then maybe you have a project that can help you…
-
0
votes2
answers31
viewsA: Code problem probably coming from Sqlserver
As your query was answered this with an extra * I believe I could use it as follows: var sda = new SqlDataAdapter($"SELECT COUNT(1) From Table WHERE usuario='{txbuser.Text}' and senha…
-
0
votes2
answers669
viewsA: Invalid character in HTTP Request C#
Try using the encoding ISO-8859-1, I did a test with code presented as test and returned the special characters. using (System.IO.StreamReader sr = new…
-
0
votes2
answers119
viewsA: SQL connection to Dapper/Asp.net Core
Rafael’s tip already says a lot of what to do if using methods GetConnectionStrings, but if you need for some very specific reason use the Connectionstring from the configuration illustrated { Data…
-
0
votes1
answer56
viewsA: Return data from a query without certain fields
I found a code posted on stackoverflow but posted directly on the site Entity framework core that can help you with what you need!…
-
0
votes2
answers521
viewsA: Check duplicate items and update a column in all but one
The update below as long as it seems it is effective for the purpose questioned. UPDATE demo SET importado = 0 WHERE sku NOT IN -- Atualizará os demais sku das duplicações ( SELECT Max(x.sku) --…