Category Archive for "ASP"

How to connect different database in ASP

How to connect database in ASP (Active Server Page)? SQL Server 2005 This is a compiled connection strings reference list on how to connect to SQL Server 2005. SQL Native Client ODBC Driver Standard security Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase; Uid=myUsername;Pwd=myPassword; Are…

Like to share it
Read More

ASP – Dictionary

ASP – Dictionary The Dictionary object In order to learn how Dictionary object works we will create a small script which will translate number 1 to 10 from English to Spanish. translate.asp <% SET MyDictionary=CreateObject(“Scripting.Dictionary”) MyDictionary.Add “one”,”uno” MyDictionary.Add “two”,”dos” MyDictionary.Add…

Like to share it
Read More

ASP – Date,Time and Text

Displaying the Current Date and Time The date and time described in this section are those that are on the server. Date To display the current date by itself in a Web page, type: &lt;% =date %&gt; at the point…

Like to share it
Read More

ASP- Cookies

Cookies method is very similar to Session method: the basic difference is that with Cookies method the information is save in the clients computer and not in the server, so it is more suitable for sites with a lot of…

Like to share it
Read More

ASP-JavaScript

In this tutorial we will create a regular HTML page with a small javascript code, and we will use this javascript code to include in the page new information from a “.asp” file. First, let´s check this two pages: <br>…

Like to share it
Read More

ASP – Array

Introduction Working with Arrays Filtering values from a array Creating a table from data in a string Simple keyword search Introduction Instead of having our information (variables or numbers) in variables like Mydata1, Mydata2, Mydata3 etc, by using arrays our…

Like to share it
Read More

ASP – Interview Question

Question : How are scripts executed? Answer : ASP provides scripting engines that execute the corresponding scripting languages on the server side. Scripts should be encoded within the “< %…. %”. Question : Explain the building blocks of Client/Server? Answer…

Like to share it
Read More

ASP – Active Server Page

Active Server Page Active Server Page (ASP) are Web pages that contain server-side scripts in addition to the usual mixture of text and HTML (Hypertext Markup Language) tags. Server-side scripts are special commands you put in Web pages that are processed…

Like to share it
Read More