Posts by JorgeWSantos • 9 points
3 posts
-
0
votes3
answers373
viewsA: Error hiding dataGridView line
If I’m not mistaken, the line the cursor points to cannot be hidden, try to ignore the selected line of your datagrid and hide the others. I have the following code: I put a checkbox on the datagrid…
c#answered JorgeWSantos 9 -
1
votes3
answers3895
viewsA: Double click on a Datagridview line transports the data to a form
Well you can use Datagridview’s Cellcontentdoubleclick event, in the click you take the index of the line by the clicked cell: dtClientesDtgv is the name of my Datagrid. var pegarIndex =…
-
-3
votes5
answers29254
viewsA: How to convert date to dd/MM/yyyy format?
var data = DateTime.Parse("10/09/2018").ToString("yyyy-MM-dd"); ----Saída: 2018/09/10 var data = DateTime.Parse("2018/09/10").ToString("dd-MM-yyyy"); -----Saída: 10/09/2018…