By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,515 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,515 IT Pros & Developers. It's quick & easy.

nonzero values?

P: n/a
I can't figure out how to create a validator for values that are nonzero.

Something that will allow:

1004
0003
1000

but not:

0
00000
1234a

Anyone have an idea?

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
The RangeValidator control should do the trick.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Luis Esteban Valencia" <lu*******@haceb.com> wrote in message
news:u%******************@TK2MSFTNGP10.phx.gbl...
I can't figure out how to create a validator for values that are nonzero.

Something that will allow:

1004
0003
1000

but not:

0
00000
1234a

Anyone have an idea?

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #2

P: n/a
Use the Regual Expression Validator
for your regex expressions....check out regexlib.com

"Luis Esteban Valencia" <lu*******@haceb.com> wrote in message
news:u%******************@TK2MSFTNGP10.phx.gbl...
I can't figure out how to create a validator for values that are nonzero.

Something that will allow:

1004
0003
1000

but not:

0
00000
1234a

Anyone have an idea?

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.