Posts by Carlos Almeida • 173 points
9 posts
-
5
votes1
answer225
viewsQ: Asynchronous programming C#
How would my application behave in a scenario where I perform an asynchronous query in the database and then manipulate the returned value? The application would wait for the query to be finalised…
-
1
votes1
answer50
viewsA: CRUD Needs the Procedure
Not necessarily. You can choose to centralize business logic within the application layer (C#, VB.NET) or within the database itself. Each implementation has its advantages and disadvantages, and it…
-
1
votes2
answers69
viewsQ: Globalization does not work when deploying
I deployed an ASP.NET application on a machine located in the center of the United States and now it behaves as being American even with the instruction below in the web.config file:…
-
2
votes1
answer811
viewsQ: Send error message to user (ASP.NET MVC)
I have the following situation: in my controller MovementsController got an action Details who is responsible for performing a database search through the Id received. The question is: if no data is…
-
1
votes1
answer33
viewsA: Failed to pass entity property as parameter in Mysqlcommand
I used the method Trim() to remove the spacing of the recovered text from the TextBox and it all worked out. Problem solved!
-
1
votes1
answer33
viewsQ: Failed to pass entity property as parameter in Mysqlcommand
I have the following code in my application: public Usuario checkLogin(Usuario entity) { //return Usuario userEntity = new Usuario(); connection = mysql.OpenConnection(); try { MySqlCommand stm =…
-
3
votes2
answers46
viewsQ: Error declaring Jtextfield vector in class
Well, I’d like to store all my JTextField in an array, however, when I define the array, I get the following error: llegal forward reference. Follow the code where I define the array. private…
-
2
votes1
answer115
viewsQ: Modify the range of a Jslider
In my project I have a Jslider, its minimum value is 0 and its maximum value is 10. I would like to modify it so that its interval is two in two numbers, so that it is only possible to select/show…
-
0
votes2
answers170
viewsQ: Are there limits to the use of logical operators in the Mysql query?
Well, I wonder if there are limits on how many logical operators I can use in a Mysql query, for example: $sql = "SELECT * FROM usuarios WHERE nome = 'Fulano' OR email = '[email protected]' AND id…