When developing an application that requires user input, I code with these 4 scenarios in mind. Bad, Invalid, Null & Good.
Bad data: same data type (string, int, etc) but out of range.
Invalid data: user puts in wrong data. Types “seattle” when you’re asking for their age.
Null data: user types nothing
Good data: user inputs exactly what you’re asking for.
Hopefully my BING rule helps somebody else with their development endeavors.
More Stories
Classic ASP: Getting MySQL DB Schema Information
Classic ASP Grouping of Database Records
Using Wildcard SSL Certificates on IIS 7.5 – The Easy Way