Home > Enterprise >  If I enter a new registration number delete button should be disabled in C# windows form application
If I enter a new registration number delete button should be disabled in C# windows form application

Time:09-18

If I enter a new registration number delete button should be disabled in C# windows form application Visual studio. Form is student enrollment Registration form

CodePudding user response:

You can disable the delete button on form load and on change of textbox check the registration number in your database whether the registration number is available if available then delete button will be active else delete button will be disabled.

  • Always disable the delete button if the registration number is modified in your form.
  • It will be active only if the registration number is found in your database.
  • Related