Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged 2 If TextBox1.Text = "" Then 3 TextBox1.Text = "$" 4 TextBox1.Selectionstart = 1 5 End If 6 End Sub
Textbox1.Text = FormatCurrency(sum.ToString())
TextBox
Quote: MaskBehavior$999,999.00A currency value in the range of 0 to 999999. The currency, thousandth, and decimal characters will be replaced at run time with their culture-specific equivalents.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)