|
|
|
|
|
Total Hits: 402 | Today: 0 |
Author: ASP 101
|
Rating:
|
|

The classic beginning script for any language implemented in ASP. They don't get much simpler! Uses a quick For loop and use the index variable as the size attribute of the font tag.That's all folks!...
|
|
|
|
Total Hits: 1590 | Today: 0 |
Author: Alex Dinu
|
Rating:
|
|

Visual Basic and VB Script were never any good working with large arrays and lookup tables. So the Microsoft ASP team decided to create a component that will be the equivalent to the Perl hash, or associative array. It first came out in 1996 as part of VB Script 2 and was added to the VB Scripting run-time library (scrrun.dll) to enable VBScript programmers to use associative arrays. Now you can develop in Visual Basic or VB Script just as you would in JScript and Perl....
|
|
|
|
Total Hits: 2224 | Today: 0 |
|
Rating:
|
|

In this article, which I've geared towards nascent programmers, I'm going to introduce VBScript arrays, give a broad description of their properties and methods.....
|
|
|
|
Total Hits: 2409 | Today: 0 |
Author: Bruce Johnson
|
Rating:
|
|

How To: Add and remove items from an Array in VBScript...
|
|
|
|
Total Hits: 302 | Today: 0 |
Author: Muhammad Zeeshan Arshad.
|
Rating:
|
|

This code will help you to store checkbox or radio button values via Form (to render on screen / to store in a database). This is very useful if you have many checkboxes/radio buttons in a FORM, with the same name and passing back to the FORM. Or if you want to add all values of a variable in the database in one data field....
|
|
|
|
Total Hits: 250 | Today: 0 |
Author: Peter Persits
|
Rating:
|
|

This article will show how to return a Safe Array from an ASP component. It is important to remember that ASP script can only handle Safe arrays of VARIANTs and not any other types. This is, of course, not true about a Visual Basic environment which can handle many types of Safe arrays. The process of creating a skeleton active server component using Visual C++ and ATL ObjectWizard is described in detail in my first article, Handling Errors in Net API Components, so I won't dwell on it here. I a...
|
|
|
|
Total Hits: 341 | Today: 0 |
Author: Chris Garrett
|
Rating:
|
|

Arrays are the lazy programmers friend. They allow you to quickly and easily make lists, if you need an indexed list or not. With VBScript you have four functions to work with arrays, Array, Split, Join and Filter....
|
|
|
|
Total Hits: 184 | Today: 0 |
Author: Amrit Hallan
|
Rating:
|
|

Now and then you have to store related items in arrays. I assume you are aware of their fundamental features of arrays, so I'm going to tell you how they are handled in ASP, in VBScript. Suppose you want to find in alphabets, what month a date contains, that is, if you enter some date like "09/05/2002", the program should return "September." This program uses a one-dimensional array to store the names of all the months....
|
|
|
|
Total Hits: 2088 | Today: 0 |
Author: Joe Norman
|
Rating:
|
|

This is a simple but usefull function that is will sort an arrays in an ASP page. An example array is included in the code and demonstrated as the page loads....
|
|
|
|
Total Hits: 1534 | Today: 0 |
|
Rating:
|
|

In developing a Web Application, you may want to declare a table of data for use by one or more pages at application level scope. This article demonstrates how to declare, populate, and reference an array that has been declared at application level scope. ...
|
|
|
|
Total Hits: 275 | Today: 0 |
Author: Justin Cook
|
Rating:
|
|

Yes, the title is a mouthful. But unfortunately with classic ASP, trying to make sense of an unsorted array is much worse. It is quite often the case, especially when retrieving data from a database, that it may end up in an array which is not ordered perfectly, perhaps due to incorrect data type settings. And of course, ASP would provide us with no intrinsic array sorting mechanisms. This article will explain how to take the array of that data, and hand it off to a function to sort it based on ...
|
|
|
|
Total Hits: 150 | Today: 0 |
|
Rating:
|
|

Instead of having our information (variables or numbers) in variables like Mydata1, Mydata2, Mydata3 etc, by using arrays our information will be in an unique variable. Letīs check an example:...
|
|
|
|
|
|
|