As the title says, how can I achieve this in VB.NET without using VB6 compatibility library?
i.e add leading zeroes?Code:maskedTextBox.Text = VB6.Format(maskedTextBox.Text, "###000")
As the title says, how can I achieve this in VB.NET without using VB6 compatibility library?
i.e add leading zeroes?Code:maskedTextBox.Text = VB6.Format(maskedTextBox.Text, "###000")
If you want to add leading zeroes - leading any characters - to a String then you call its PadLeft method.