save btn disabled before fields are filling enable after fil

Nov 30 2014 6:56 AM
{
        if (textBox1.text == "")
           button1.enabled = false;

        else
            button1.enabled = true;

}