Cov txheej txheem:

Muaj pes tsawg hom validation muaj nyob rau hauv asp net?
Muaj pes tsawg hom validation muaj nyob rau hauv asp net?

Video: Muaj pes tsawg hom validation muaj nyob rau hauv asp net?

Video: Muaj pes tsawg hom validation muaj nyob rau hauv asp net?
Video: Muaj Yis hauv Xib tes yuav Qhia tau Txoj Hmoo li cas 2024, Kaum ib hlis
Anonim

Muaj rau validation tswj muaj nyob rau hauv ASP. NET

  • RequiredFieldValidator.
  • RangeValidator.
  • Sib pivValidator.
  • RegularExpressionValidator.
  • CustomValidator.
  • ValidationSummary.

Ib yam li ntawd, nws yog nug, muaj pes tsawg hom validators nyob rau hauv asp net?

Muaj tsib qhov sib txawv validator hauv asp.net

  • Yuav tsum muaj Field Validator.
  • Sib piv Validator.
  • Range Validator.
  • Regular Expression Validator.
  • Custom Validator.

Tom qab, lo lus nug yog, dab tsi yog qhov txawv validation hauv asp net? ASP. NET muab cov nram qab no validation tswj:

  • RequiredFieldValidator.
  • RangeValidator.
  • Sib pivValidator.
  • RegularExpressionValidator.
  • CustomValidator.
  • ValidationSummary.

Qhov thib ob, yog dab tsi yog validation thiab hom validation nyob rau hauv asp net?

Validation Controls hauv ASP. NET

Validation Control Kev piav qhia
RangeValidator Xyuas tias tus neeg siv nkag mus rau tus nqi uas poob ntawm ob qhov txiaj ntsig
RegularExpressionValidator Xyuas kom meej tias tus nqi ntawm ib qho kev tswj xyuas qhov sib npaug ntawm tus qauv

Koj txhais li cas los ntawm validation tswj?

Txhais Validation Control hauv ASP. NET. - Cov validation tswj yog siv los siv cov nplooj ntawv qib validity ntawm cov ntaub ntawv nkag mus rau hauv lub server tswj . - Yog cov ntaub ntawv ua tsis dhau kev lees paub , nws yuav tso saib cov lus yuam kev rau tus neeg siv. - Nws yog ib feem tseem ceeb ntawm txhua daim ntawv thov web.

Pom zoo: