Posts by Lord Voldemort • 89 points
7 posts
-
2
votes2
answers2187
viewsQ: How to capture a dbgrid Row click event?
I would like to know how to catch the event click of any line, returned from the GridView. For example, the GridView shows me 3 lines, I want to click one of these lines and perform a certain…
delphiasked Lord Voldemort 89 -
0
votes2
answers1255
viewsQ: How to access the methods of a component that is inside a Fastreport file?
I’m sorry if the doubt seems a little fuzzy, but I have the following situation: I have a frxReport component and, inside it, I inserted a chart in the report. In the main form, I added a radio…
-
2
votes2
answers1760
viewsQ: How to assign values to an associative array in php?
In an array, for example: $arr = array('item1', 'item2' ... 'itemN'); want to assign a value to each item. For this, I tried a foreach: foreach($arr as $a => $b) $b = 4; but is informed by the…
-
2
votes1
answer2976
viewsQ: Php does not connect to database (Mysql)
So, I started recently with php and tried to do a simple crud with php+mysql but, I had a problem that I believe is the connection with mysql. when loading the action (action) into html, the page is…
-
0
votes2
answers727
viewsA: How do I add the elements of a List<string> to a listbox?
Here is the answer to anyone who has a similar question: foreach (var p in obterPares.pares) { listBoxParesGerados.Items.Add(p); } The p in the foreach will scroll through each element of the list,…
-
-1
votes2
answers727
viewsQ: How do I add the elements of a List<string> to a listbox?
I have a List in a class, and in the main class I want to take this List and add its elements to a listbox and then display them. How do I do this? Thank you!!
-
1
votes2
answers57
viewsQ: There is a difference between connecting to the database using a class and the visual studio: Tools>Conect_to_database?
I am learning C# and would like to know if there is a difference between the two types of connection cited in the title. If so, which?