An Active Server Pages Tutorial, Part 2 Oklahoma

We conclude our tutorial on working with ASP by looking at Boolean functions, sessions and cookies, text files, and accessing databases.

Local Companies

Amercian Education Corporation
405-840-6031
7506 Broadway Ext
Oklahoma City, OK
Midwest CAM Solutions (GibbsCAM)
763-560-6567
NOW SERVING: OKLAHOMA
Oklahoma City, OK
Dreyer Software Inc
918-838-7638
PO Box 3391
Tulsa, OK
Tah Software Systems
405-478-3962
3400 NE 115th St
Oklahoma City, OK
B Solutions LLC
918-749-9200
5645 S Madison Ave
Tulsa, OK
Anyware Mobile Solutions
918-280-8693
5800 E Skelly DR
Tulsa, OK
Earnest Computer Service
405-732-1233
7005 SE 15th St
Oklahoma City, OK
Axis Integrated Solutions
918-488-1881
2818 E 81st Pl
Tulsa, OK
Software Etc
918-254-9124
Woodland Hills Mall
Tulsa, OK
Griffey & Associates
918-627-6399
5350 E 46th Street Suite 145
Tulsa, OK

provided by: 
Originally published at Internet.com


Review Part 1

Session 6

Boolean Functions in VBScript and Their Application in ASP

Function Description VBScript ASP IsArray Determines whether a variable is an array or not.
Dim x(10) document.write(IsArray(x)) Returns true Dim x document.write(IsArray(x)) Returns false

<% Dim x(10) Response.write(IsArray(x)) Returns true Dim x document.write(IsArray(x)) Returns false %> IsDate

Determines whether a variable is a valid date or not. Dim x
x = "12/10/00"
document.write(IsDate(x))
Returns true
x = "555"
document.write(IsDate(x))
Returns false

<%
Dim x
x = "12/10/00"
Response.write(IsDate(x))
Returns true
x = "555"
document.write(IsDate(x))
Returns false
%>

IsEmpty Determines whether a variable has been initialized. Variables are empty when you declare them or explicitly set them to empty <%
Dim x
document.write(IsEmpty(x)) Returns true
x = "12/15/00"
document.write(IsEmpty(x)) Returns false
x = Empty
document.write(IsEmpty(x)) Returns true
%>

<%
Dim x
Response.write(IsEmpty(x)) Returns true
x = "12/15/00"
Response.write(IsEmpty(x)) Returns false
x = Empty
Response.write(IsEmpty(x)) Returns true
%>

IsNull

Determines whether a variable is null or not Dim x
document.write(IsNull(x)) Returns false
x = Empty
document.write(IsNull(x)) Returns false
x = Null
document.write(IsNull(x)) Returns true <%
Dim x
Response.write(IsNull(x)) Returns false
x = Empty
Response.write(IsNull(x)) Returns false
x = Null
Response.write(IsNull(x)) Returns true
%>

IsNumeric Returns true if the variable can be evaluated as a number

Dim x, y
x = 20
document.write(IsNumeric(x)) Returns true
y= "Hello"
document.write(IsNumeric(x)) Returns false <%
Dim x, y
x = 20
Response.write(IsNumeric(x)) Returns true
y= "Hello"
Response.write(IsNumeric(x)) Returns false
%>

Author: Anand Narayanaswamy

Read article at Internet.com site

Featured Local Company

Anyware Mobile Solutions

918-280-8693
5800 E Skelly DR
Tulsa, OK

Regional Articles
- An Active Server Pages Tutorial, Part 2 Ada OK
- An Active Server Pages Tutorial, Part 2 Altus OK
- An Active Server Pages Tutorial, Part 2 Ardmore OK
- An Active Server Pages Tutorial, Part 2 Bartlesville OK
- An Active Server Pages Tutorial, Part 2 Bethany OK
- An Active Server Pages Tutorial, Part 2 Bixby OK
- An Active Server Pages Tutorial, Part 2 Broken Arrow OK
- An Active Server Pages Tutorial, Part 2 Chickasha OK
- An Active Server Pages Tutorial, Part 2 Choctaw OK
- An Active Server Pages Tutorial, Part 2 Claremore OK
- An Active Server Pages Tutorial, Part 2 Duncan OK
- An Active Server Pages Tutorial, Part 2 Durant OK
- An Active Server Pages Tutorial, Part 2 Edmond OK
- An Active Server Pages Tutorial, Part 2 El Reno OK
- An Active Server Pages Tutorial, Part 2 Enid OK
- An Active Server Pages Tutorial, Part 2 Guthrie OK
- An Active Server Pages Tutorial, Part 2 Lawton OK
- An Active Server Pages Tutorial, Part 2 Mcalester OK
- An Active Server Pages Tutorial, Part 2 Muskogee OK
- An Active Server Pages Tutorial, Part 2 Mustang OK
- An Active Server Pages Tutorial, Part 2 Norman OK
- An Active Server Pages Tutorial, Part 2 Oklahoma City OK
- An Active Server Pages Tutorial, Part 2 Okmulgee OK
- An Active Server Pages Tutorial, Part 2 Owasso OK
- An Active Server Pages Tutorial, Part 2 Ponca City OK
- An Active Server Pages Tutorial, Part 2 Pryor OK
- An Active Server Pages Tutorial, Part 2 Sand Springs OK
- An Active Server Pages Tutorial, Part 2 Sapulpa OK
- An Active Server Pages Tutorial, Part 2 Shawnee OK
- An Active Server Pages Tutorial, Part 2 Stillwater OK
- An Active Server Pages Tutorial, Part 2 Tahlequah OK
- An Active Server Pages Tutorial, Part 2 Tulsa OK
- An Active Server Pages Tutorial, Part 2 Woodward OK
- An Active Server Pages Tutorial, Part 2 Yukon OK

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML