Modulus11

Hi All,

I need to populate ISBN No on btnSubmit_Click event using Modulus11 check. The input box is a text box " txtISBN" and the ISBN Number will have 10 digits. . Any idea how I can implement this

Any help appreciated



Answer this question

Modulus11

  • piell

    Ronan Jordan,

    I suggest you to write a regular expression in your program such as in the button click event. Here is an example on the ISBN regular expression:

    Title: ISBN-10

    Pattern: ISBN\x20( =.{13}$)\d{1,5}([- ])\d{1,7}\1\d{1,6}\1(\d|X)$

    Matching Text: ISBN 0 93028 923 4|||ISBN 1-56389-668-0|||ISBN 1-56389-016-X

    Non-Matchig Text: 123456789X|||ISBN 9-87654321-2|||ISBN 123 456-789X



  • Modulus11