Is there an easy way to verify ASP.net form variables on input?

Josh

New member
I've always used PHP and Perl, but recently inherited an ASP.net project -- I've been modifying the .aspx and .aspx.cs files in code view...and just realized there is a designer view where you can basically use a wizard to add data sources, components, etc. Anyways, I've been writing regex validators via code and started wondering if there is there an easy way to just click on a drop down box/text box (in design view) and specify limits on input, what values are allowed, etc.?

Also, is Server.HtmlEncode safe enough for storing input into a sql db? It mentions it replaces double quotes & quot; but, it doesn't say anything about single quotes?

Thanks!

Thanks
 
Back
Top