|
IT SOLUTIONS
Your full service technology partner!
|
|
|
Prestwood eMagazineSubscribe now! It's Free!
|
|
KB Article | ||||
![]() Mike Prestwood |
1. ASP Classic Array (x = Array())
Arrays in ASP Classic use a 0-based indice. Use UBound to get the number of elements. UBound returns -1 if the array has no elements, 0 if it has 1, 1 if it has 2, etc. Posted to KB Topic: ASP Classic
15 years ago, and updated 14 years ago
(2 Comments
, last by Jeorge.W )
|
![]() ![]() ![]() 17879
Hits |
||
![]() Mike Prestwood |
2. Associative Arrays in ASP Classic
What is the syntax in ASP Classic for using an associative array? Posted to KB Topic: Language Details
17 years ago, and updated 15 years ago
(3 Comments
, last by Donnavan.L )
|
![]() FAQ ![]() ![]() 31600
Hits |
||
![]() Mike Prestwood |
3. ASP Classic Empty String Check (Len(s&vbNullString))
In ASP Classic, you have to add an empty string to the value being compared in order to get consistent results. For example, add &"" to your string varilable or it's code equivalent &vbNullString. Then compare to an empty string or verify it's length to 0 with Len. Posted to KB Topic: ASP Classic
16 years ago, and updated 15 years ago
(4 Comments
, last by Eugene.P )
|
![]() ![]() ![]() 48848
Hits |
||
![]() Mike Prestwood |
4. ASP Classic Error 3709
Run-time error '3709': Posted to KB Topic: Language Details
15 years ago
(3 Comments
, last by petter.s )
|
![]() Error ![]() ![]() 14894
Hits |
||
![]() Mike Prestwood |
5. ASP Classic Edit Record (AddNew, Update, Delete)
In ASP, using ADO, you use RecordSet.AddNew to add a new record, Recordset.Update to post the record, and RecordSet.Delete to delete it. To edit a record, you open the RecordSet using an editable cursor. Posted to KB Topic: ASP Classic
15 years ago
|
![]() Code ![]() ![]() 20529
Hits |
||
![]() Mike Prestwood |
6. ASP Classic Yes/No Function
The following function demonstrates one technique for coding a Yes/No dropdown. It uses a for loop which can be expanded to handle more than the 3 states (Y, N, and blank). Example of calling the function: Do you fish? <%=YesNoDropDown("ynFish", "")%>
Posted to KB Topic: ASP Classic
15 years ago
(7 Comments
, last by Natalie.Z )
|
![]() Code ![]() ![]() 9541
Hits |
||
![]() Mike Prestwood |
7. Clear Application and Session Variables Using ASP classic
Use Application.Contents.RemoveAll and Session.Contents.RemoveAll Posted to KB Topic: Language Basics
18 years ago, and updated 15 years ago
(1 Comments
, last by Uwais.Q )
|
![]() KB Post ![]() ![]() 38765
Hits |
||
![]() Mike Prestwood |
8. Response.Flush and Response.Buffer
Response.Flush sends the contents of the buffer to the browser. This command is useful for showing a visitor something while slow loading pages load. Posted to KB Topic: Language Details
19 years ago, and updated 15 years ago
(14 Comments
, last by joe.e )
|
![]() KB Post ![]() ![]() 42058
Hits |
||
![]() Mike Prestwood |
9. ASP Classic Sort Records (Sort)
In ASP, using ADO, you sort a set of records using the Sort property. Posted to KB Topic: ASP Classic
15 years ago
(1 Comments
, last by Levi.M )
|
![]() Code ![]() ![]() 9198
Hits |
||
![]() Mike Prestwood |
10. ASP Classic Filter Records (Filter)
In ASP, using ADO, you filter a set of records using Filter. Posted to KB Topic: ASP Classic
15 years ago
|
![]() Code ![]() ![]() 9286
Hits |
Sales Website: www.prestwood.com | Or visit our legacy sales site: legacy.prestwood.com |
ACCOUNT OVERVIEW:
|
CONTACT US:
Office Hours: 8am-5pm | Mon thru Fri
916-726-5675 (office)
916-726-5676 (fax)
916-595-5675 (text msg)
8421 Auburn Blvd, STE 256
Citrus Heights, CA 95610
|
|
©1995-2025 Prestwood IT Solutions.
[Security & Privacy]
|