separacion por coma al superar mil en el total

This commit is contained in:
Antonio Gonzalez
2019-12-19 15:39:45 -07:00
parent 263064bf6c
commit 6562acea5a

View File

@@ -48,6 +48,7 @@ Partial Class Bancos_DepositosCaja
UpGvFacturas.Update() UpGvFacturas.Update()
GvFacturas.DataBind() GvFacturas.DataBind()
lblValorTotal.Text = "00.00"
divLabelTotal.Visible = True divLabelTotal.Visible = True
End Sub End Sub
@@ -166,7 +167,7 @@ Partial Class Bancos_DepositosCaja
Total += Gvr.DataKey("Importe").ToDouble Total += Gvr.DataKey("Importe").ToDouble
End If End If
Next Next
lblValorTotal.Text = Total.ToString lblValorTotal.Text = Total.ToString("N")
UpGvFacturas.Update() UpGvFacturas.Update()
End Sub End Sub