Posts by Willian • 522 points
18 posts
-
0
votes0
answers17
viewsQ: Origin of the Dltextbox component
I’m making an adjustment on a Windows CE project, but this project had its source code lost and the system went through a reverse engineering process. Knowing this, I started researching the type of…
-
5
votes2
answers279
viewsQ: What is this "k_BackingField"
I have a project to create a C# Smart Device for Windows CE. I received a code result reverse engineering, but there is a part that I am not able to understand or adapt. Below follows the code:…
-
3
votes1
answer6162
viewsA: Traverse row by row of a table
I believe your problem can be solved using cursor. In it you can do line-by-line treatments and implement the treatments you want. DECLARE @vQtd_cupons varchar(50) ,@vApuracao_ptsvp varchar(50)…
-
1
votes1
answer72
viewsQ: How does Backgroundworker e.error work?
I am creating an application that makes multiple connections simultaneously. For each connection I create one TextBox and a BackgroundWorker. When executing the DoWork of BackgroundWorker I use…
-
1
votes3
answers71
viewsA: Centralization of IVD
I did an example to align the Divs. <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> .divMain{ width: 600px; height: 800px; background-color:…
-
1
votes1
answer2542
viewsA: How to color column date type according to current date
You can use conditional formatting, only instead of using a cell, you can compare to the formula HOJE() And if you want to see other formatting, there is this link:…
-
1
votes2
answers158
viewsA: I can’t talk with specific class in css
With what you presented, you can solve the problem by changing the .dropdown-content for .header-menu ul li .dropdown-content, so it will give preference to the settings you want. Or you can use the…
-
-1
votes1
answer50
viewsA: Add in BD in c#
Some commas are missing from your insert syntax. I in your case would do it this way for better visualization of the Insert mount: string sql = "", sqlInsert = "", sqlValues = ""; sqlInsert += "…
-
2
votes1
answer902
viewsQ: How to use Event Eventargs
Maybe the question was too comprehensive, but I wanted to know how to use the EventArgs of certain components, such as EventArgs in the Button_Click. Explaining the doubt a little better, for…
-
6
votes2
answers635
viewsA: Why is this code not calculating the average correctly?
As shown in the comments, the error is in resultado = valor1 + valor2 /2. In math, if you want the sum to be made before the division, you have to put the sum in parentheses and then divide. In case…
-
2
votes2
answers4115
viewsA: Query returning error in query between date period
If the field V.DATA be the type DATETIME you can use the CONVERT and specify the type of model string will be. I’d be more or less like this. SELECT * FROM #TMP_B WHERE DATA BETWEEN…
-
1
votes1
answer53
viewsQ: Search for objects in Runtime
I have an application that will make simultaneous downloads of different data sources. I have a DataGridView that will receive the result of a select and from the amount of lines that come from that…
-
1
votes2
answers785
viewsA: How to show the result of a query based on the result of another?
You can use the Union all, but in the second consultation use the not exists comparing the two results. SELECT A.CHAPA ,A.NOME ,A.DATA ,A.DIFF ,CODE = NULL FROM #TMP_A A -- seria a consulta A UNION…
-
0
votes0
answers337
viewsQ: Change permission to modify files
I am creating a Windows Forms application that will fetch an Excel spreadsheet and update some DBF files from a legacy system, but when I run the system I cannot update the DBF files due to the…
-
2
votes1
answer58
viewsQ: Additional information: This Row already belongs to this table.
I am developing a system that searches for information in an excel and does some treatments to save the data in a dbf database. All the treatments I do are on top of Datatables, so I use dataRows…
-
1
votes1
answer110
viewsA: Problem of reading and inserting data into DBF file after deletion of all records
I found out what the problem was. The problem was that by changing the file . DBF, I was not reindexrating the table in the file. CDX, so the main system could not find the information in the file .…
-
1
votes1
answer110
viewsQ: Problem of reading and inserting data into DBF file after deletion of all records
I’m creating a system that will read a file xls, delete data from a file dbf to then include all records of the xls on the table. However, this system is an intermediate system, because the dbf are…
-
3
votes2
answers985
viewsQ: Create a property for a bool variable that handles string and int
I am creating a project in which I search the database information, in this case it is a DBF file, and the field is of the Logical type. However, I want to create a property that can receive a…