Forums - C# Corner

Forum guidelines
Nazhand Zareei

Nazhand Zareei

  • 748
  • 14
  • 50.4k

How to validate Password textbox C# winfrom

Apr 9 2013 6:58 PM
Hi,

I have a change password form, which I would like to check :
        1.it shouldn't be empty or null
        2.txtNewpassword.Text = txtConfimPassword.Text

How to write if statement for those conditions./

Thanks.

Answers (3)

C# Corner Chandigarh Developer Conference

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.