Question Locked

vb.net coding

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

can anyone please convert the following code into vb.net code??

private void textBox1_Validating(object sender, System.EventArgs e)
{
if (textBox1.Text.Length==0)
{
MessageBox.Show("Enter Your Name Please");
textBox1.Focus();
}

else
{
bool iscorrect = true;

for(int i=0;i

1 reply

This discussion is closed to new replies.