C# Tutorial - Validation using Error Provider | FoxLearn

Sdílet
Vložit
  • čas přidán 1. 10. 2016
  • Display Error Icons for Form Validation using Error Provider control in C#. The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language.
    Website: foxlearn.com
    This video shows you how to use ErrorProvider C# Control - Simple Login Validate Example or Simple errorprovider example in windows form visual studio c#
    You can also find this video through topics:
    C# Validation Form With ErrorProvider
    Validation in Windows Form C# using ErrorProvider Control
    Validation Form Application in C#
    textbox validation in c# windows application
    c# - Validating multiple textboxes using errorprovider
    C# ErrorProvider Control: Windows Forms
    Error Provider Control in Windows Application Form - CodeProject
    Using Error Provider Control in Windows Forms and C#
    Error Provider in a C# Windows Forms Application
    How to use errorprovider control to validate a textbox
    c# - Input validation for text boxes in a Form
    User Input Validation in Windows Forms - MSDN
    Input Validation C# Textbox Controls

Komentáře • 52

  • @Blue-Scorpion
    @Blue-Scorpion Před 7 lety +6

    Thanks for this. You have definitely best tutorials.Your videos are short, clear and most importantly solve problem in a best manner!

  • @blankf0cku
    @blankf0cku Před 2 lety

    Thanks Simple and exact tutorial!

  • @exogendesign4582
    @exogendesign4582 Před 4 lety +2

    After A while Damn, I just realized that your way of coding is so Clean and Concise, I now Appreciate it. hehehehe sorry for all my bad comments.

  • @MrAhmedHaider
    @MrAhmedHaider Před 2 lety +1

    It doesn't allow me to close the form if (txtUsername.Text) is empty!
    How to override this?!

  • @aryanbhaskar7872
    @aryanbhaskar7872 Před 4 lety +1

    I want to use if condition with text string of textbox
    how to do it plz help me !!!

  • @KouYaku
    @KouYaku Před rokem

    definitely helped me with my assignment

  • @udayabandara824
    @udayabandara824 Před rokem

    It's worked. Thanks a lot...

  • @xlnwinglx
    @xlnwinglx Před 5 lety

    muchas gracias, que linda voz... tienes enamoras *-*

    • @foxlearn
      @foxlearn  Před 5 lety

      You're welcome. Thank you !

  • @trollplayz6483
    @trollplayz6483 Před 3 lety

    thanks for that :)

  • @D_ev
    @D_ev Před rokem

    Thanks😀

  • @garudakurt5166
    @garudakurt5166 Před 3 lety +1

    Its not work using multiple textbox! Even if I set the tab orders.

  • @ayeitsgr4ce
    @ayeitsgr4ce Před 3 lety

    How to not let the messagebox at the end show?

  • @user-xg7hi5mh3g
    @user-xg7hi5mh3g Před 3 lety

    nice wht i searched for a time 😊😍

  • @siddalingeshapatil8973

    If i nsert new button with name "Close" when i click on close button the form not closing it will show Error Providers ??????????????????????????????????????

    • @foxlearn
      @foxlearn  Před 7 lety

      Hi, Please check valid data, make sure you data is valid

  • @kingsleyufot797
    @kingsleyufot797 Před 6 lety

    when values inputted in my textbox button dont work........pls how do i full?

  • @MuhammadUsamaQamar
    @MuhammadUsamaQamar Před 3 lety +1

    After doing this even if you enter values to textbox 1 it won't let you go down.

    • @dakidare99
      @dakidare99 Před 2 lety

      Just if somebody needs a solution.. Open errorProvider Properties and open ContainerControls menu. A bunch of properties will open. Find "AutoValidate" and set it to "Disable". :)

  • @annoyingmouse799
    @annoyingmouse799 Před 6 lety +2

    errorProvider doesnot exist how to fix it?

  • @learncode3483
    @learncode3483 Před 5 lety

    👍👍👍❤

  • @AdiPrimandaGinting
    @AdiPrimandaGinting Před 6 lety

    Feels like in Feeding frenzy game

  • @agungfirmansyah9196
    @agungfirmansyah9196 Před 7 lety

    I will Worked the Material from the Studied, and I want to Make it class Transaction using at Windows Application C #, You know to send to me the Tutorial to make it the Program ?

    • @foxlearn
      @foxlearn  Před 7 lety

      Hi, Can you describe more details? thank you

  • @agungfirmansyah9196
    @agungfirmansyah9196 Před 7 lety

    Thanks

  • @arbertguanzon9391
    @arbertguanzon9391 Před 5 lety

    i tried it but with multiple with multiple textbox then its misbehave even i input on the first textbox i cannot go into the next textbox

    • @foxlearn
      @foxlearn  Před 5 lety

      You should set tab order for your text box control

    • @arbertguanzon9391
      @arbertguanzon9391 Před 5 lety

      @@foxlearn i set tab orders

    • @arbertguanzon9391
      @arbertguanzon9391 Před 5 lety

      if (ValidateChildren(ValidationConstraints.Enabled))
      {
      MessageBox.Show(txtid.Text, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
      MessageBox.Show(txtfn.Text, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
      MessageBox.Show(txtln.Text, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
      MessageBox.Show(txtmn.Text, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
      MessageBox.Show(cmbc.Text, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
      }

  • @SVT000
    @SVT000 Před rokem

    videos great and stuff but g damn, the intro about "fox learn" is driving me crazy at this point

  • @siddalingeshapatil8973

    i Can't able to close the form .....close form not working

    • @foxlearn
      @foxlearn  Před 7 lety

      Hi, Please check valid data, make sure you data is valid

  • @jsdevelopers3182
    @jsdevelopers3182 Před 6 lety

    where is object of errorProvider
    there show only referrence ErrorProvider
    plz guide me

  • @nathanunderbsd5972
    @nathanunderbsd5972 Před 5 lety

    i tried this code VS 2017, it totally crashed the form, sorry.

    • @foxlearn
      @foxlearn  Před 5 lety

      What error are you getting?

    • @nathanunderbsd5972
      @nathanunderbsd5972 Před 5 lety

      @@foxlearn it is like a bug on error provider itself under vs 2017 - c# (keeps on loop without termination. )

    • @nathanunderbsd5972
      @nathanunderbsd5972 Před 5 lety

      @@foxlearn there is no error thrown, just crashed (hang on memory heap with high memory usage).

  • @agungfirmansyah9196
    @agungfirmansyah9196 Před 7 lety

    I'm you cant to help me ?

    • @foxlearn
      @foxlearn  Před 7 lety

      Hi, Can you describe more details? thanks

  • @user-lc7ku6je1o
    @user-lc7ku6je1o Před 6 lety +3

    So, you wrote some code and... explained nothing.