Posts by Leandro Siqueira Dias • 62 points
8 posts
-
0
votes1
answer233
viewsA: Operation of the push method
That method push stores the item in the Queue attribute according to the Priority, from the smallest to the largest, and stores the amount of array elements in the attribute _index. If you want to…
-
1
votes0
answers43
viewsQ: Problem hosting Bot in Azure
I created a very simple bot using botframework and I am trying to host it in Azure, when I run it locally it works successfully but in the cloud is appearing the following error: I’m putting the…
-
0
votes3
answers636
viewsA: Load grid information in textbox in a form that is already open c# windows form
If you uncomment the lines below works, but I believe you need to call the Refresh event from your form to load the data on the screen, try this way: public partial class frmSlaveConsultaCliente :…
-
-1
votes3
answers569
viewsA: Listbox - how to show full product name and bring up another column of values
Try using the listbox valueMember property: https://msdn.microsoft.com/pt-br/library/system.windows.forms.listcontrol.valuemember(v=vs.110). aspx…
-
0
votes4
answers3505
viewsA: How to generate random characters or string?
I think the trick for these questions is to create a vector with the letters and draw them inside the vector and checking the previous character and if C has already appeared four times, see if the…
-
0
votes2
answers116
viewsA: Difficulty returning the result in a single query without duplicating
You have to put some aggregator function for these columns like SUM() and take them out of group by, or simply take these columns out of your query, depending on what information you need that…
-
0
votes2
answers243
viewsA: Grouping query by date
You can use the Groupby from the LIN to group. I don’t know what the attributes name of your object is but try to change this line: dataGridView2.DataSource = pesquisa.ToList(); For something like…
c#answered Leandro Siqueira Dias 62 -
3
votes1
answer121
viewsA: How can I turn the entire text content into c#
You can split each line of the file with the split by ' n' and then split each line and go putting in your matrix, for example: var matriz = new int[10, 10]; var texto = File.ReadAllText("Caminho…
c#answered Leandro Siqueira Dias 62