Posts by Guilherme Lima • 360 points
16 posts
-
0
votes3
answers96
viewsA: Capture Textbox that called the event
A more elegant way would be! private void DataGridViewRegistrosCell_TextChanged_Exemplo(object sender, EventArgs e) { var cellValue = (sender as TextBox).Text; Debug.WriteLine($"O valor da célula é:…
-
1
votes1
answer59
viewsQ: Datatype Conversion Query - Varchar to Float
When performing a query, I need a column of a given table to convert your Datatype for FLOAT. COLUMN CONFIGURATION Name: 16_remuneracao_sem_13 Datatype: VARCHAR(15) PERFORMING STANDARD CONSULTATION…
-
0
votes1
answer128
viewsQ: Release External Mysql Connection
I recently set up a mirrored Mysql server. Following this procedure: https://hostpresto.com/community/tutorials/how-to-setup-mysql-master-master-replication-on-ubuntu-16-04/ The command to release…
mysqlasked Guilherme Lima 360 -
0
votes3
answers814
viewsQ: SELECT WITH STRING FORMATTING
Using the Mysql Database, intending to perform the query in a given table whose one of its fields data has as type VARCHAR(8). Query SQL - Current SELECT `t_movimentacao`.`data` FROM t_movimentacao…
-
4
votes2
answers79
viewsQ: How to create hierarchy functions? Ex Console>Error>Writeline()
My question may seem confusing so I’ll explain. Imagine that I have three class: Program, Controle.cs, Volume.cs. class Program using System; namespace ConsoleAppPOO { class Program { static void…
-
2
votes1
answer559
viewsQ: Visual Studio Character Error
I cannot resolve a character error in Visual Studio. Code 1: #include "pch.h" #include <iostream> #include <cstdlib> #include <clocale> #include <Windows.h> using namespace…
-
1
votes1
answer861
viewsQ: Passing array as a function parameter
How to pass a array to a function without me having to inform the amount of indexes it has? Stating the size #include "stdafx.h" #include <Windows.h> void imprimir(int _array[], int _tamanho)…
-
1
votes0
answers50
viewsQ: COMPUTER VISION - MULTI-TARGET TRACKING
How to track people in images and video. I would like you to tell me efficient Apis or libraries that perform this task. I wish for a result similar to that video. Well I’m running the risk of…
-
5
votes1
answer1874
viewsQ: How to collect data from a web page?
Web data collection, or Web Scraping, is a form of mining that allows the extraction of data from web sites by converting them into structured information for further analysis. Present here your…
-
10
votes1
answer1874
viewsA: How to collect data from a web page?
The best way to get data from a document is by making use of the Class Regex. Using immutable regular expressions to obtain the desired data we can perform queries in documents or even on a web…
-
1
votes1
answer413
viewsA: C# CRUD - Insert Error (Cannot add or update a Child Row: a Foreign key Constraint fails...)
Friend your problem is in the syntax of your Query. Do not assign value to ids that are auto-increment in your INSERT. I advise you to try running the Query at hand to be simpler to solve the…
-
0
votes2
answers896
viewsA: How to make the questions random without repeating and run a specific number of questions?
As I was able to understand your questions are stored in a array public string[] perguntas; and soon the questions are accessed through their indexes. I will then help you create an algorithm that…
-
0
votes1
answer1107
viewsA: Cannot convert "string" to "int"
HOW TO CONVERT STRING TO INT? // Simples String para int static void Main(string[] args) { String text = "10"; int a = Convert.ToInt32(text); int b = 10; int result = a + b;…
-
0
votes3
answers386
viewsA: The user will have 3 attempts to set the password
Every time you run the function btnEntrar_Click(); the variable int erro=0; again gets the value zero. Try declaring the variable in the body of your class this way: class Program { static int erro;…
-
-2
votes1
answer71
viewsQ: Resolve Operation with Set
Question 1 - Consider the set X = {x Z : 1 x 32}. Implement a program in C that performs the following instructions. Create three integer-type vectors of size 12: vector 0[12], vector 1[12] and…
-
0
votes1
answer3475
viewsQ: C# - How to make a simple Web Scraping
I want to read information from an HTML page of a online radio. I have tried to read using Htmlagilitypack, but without success because the page in question I am working does not use Elementid, I…