[thelist] Custom validation ASP.net

Tim Gaunt info at thesitedoctor.co.uk
Tue Dec 11 02:58:02 CST 2007


Michael Pack wrote:
> (!String.IsNullOrEmpty(txtEmail.Text) ||
> !String.IsNullOrEmpty(txtPhone.Text))
> Writing VB in Dreamweaver CS3 without code behind.

Well that's C# for starters...

VB would be:

If Not String.IsNullOrEmpty(txtEmail.Text) or Not
String.IsNullOrEmpty(txtEmail.Text)

Hope that helps.

Tim




More information about the thelist mailing list