ASP

Home » ASP (466)

AJAX Control ToolKit MutuallyExclusiveCheckBox Extender
The MutuallyExclusive CheckBox is an ASP.NET AJAX extender that can be attached to any ASP.NET CheckBox control. By adding a number of Checkboxes to the same "Key", only one checkbox with the specified key can be checked at a time. This extender is useful when a number of choices are available but only one can be chosen, similar to a radio button.

ASP.NET Page Life Cycle
A page in an ASP.NET application consists of several server controls. These are the fundamental building blocks of an ASP.NET application. The Life cycle of an ASP.NET page, depends on whether the page is requested for the first time or it is a postback. Postback is a process by which a page can request for itself.

Check A Date Is Valid
This example displays a form on a page . The user then enters a date , if the date is invalid then a message will be displayed on the screen .

Sending email using CDOSYS
In this article we demonstrate how to generate and send emails with ASP using CDOSYS. You will learn how to send text and html emails, emails with attachments, use a remote server, load recipients from a database, set the priority / importance of an email and request a read/return receipt.

How to use GetDirectories
While working with file system, sometimes we must list all directories in a folder. This sample shows us how to list all directories in a folder. Source code written in Visual Basic.NET can easily modify to work in an application.

Server-side scripting
Learning objectives: create dynamic web pages using, MICROSOFT's ACTIVE SERVER PAGES technology, understand the essentials of server-side scripting, use VBSCRIPT within ASP pages, understand the Response object and how is it used to send information to browsers, understand the Request object and how is it used to receive information from browsers; understand how server-side scripting differs from CGI programming. (pdf file, install Acrobat Reader to read this tutorial).

Modify Access Data Online
In the previous data basics column, we showed you how to retrieve data from an access table over the Web using ASP scripts. Retrieving and viewing data are just two of the tasks that you'll need in an interactive database application. Now we're going to venture into making database changes online, using HTML forms and ASP.

Filtering results from database
Filter method is very useful working with large datasets. You might need to put only some records from your database but you should select all data from database. Fileter method is advantage working on recordsets after querying on SQL command.

Create and retrieve cookies
ASP is very powerful while managing cookies. It's so easy to create a cookie. You may use response object and cookie property to create it. Again request object used to retrieve cookie. Cookies must be written before header sent to client by server. This means you should write and send cookie befre any HTML opening tag.

Preventing SQL Injection Attacks in Classic ASP
The term 'SQL Injection' means to inject malicious SQL statement(s) in an otherwise regular SQL to get access to secure data on a website. In this article, we will examine how SQL injection attacks are carried out and what programming techniques can be used to prevent them. While we will assume classic ASP pages and the backend SQL Server database to demonstrate the method and means of prevention, the concept is equally applicable to other web programming technologies and database systems.

ASP For Beginners
What is ASP? ASP stands for Active Server Pages. Actually, ASP in itself isn't a language, instead it is more of a technology used by VBScript on the server side to display dynamic content on the web pages.

Variable types in ASP
Learn what variable types we have in ASP and how to use these types properly.

Cookies in ASP
Learn what are and how to use cookies in ASP.

Declaring variables in ASP
Learn how to declare and use properly variables in ASP

Date & Time in ASP
Learn how to properly use date and time functions in ASP

Create your first ASP page
Learn how to start programming in ASP. Useful for beginners.

Period of time between two different dates
Self explaining sort scripts to compare dates.

How to connect to MS SQL Server database
In this tutorial we will show you how to connect to MS SQL Server database.

How to set up a system DSN
This article will help you to create a System Data Source Name (DSN) for an Access database on your local machine.

How to connect to an Access database with a DSN
DSN stands for 'Data Source Name'. It is an easy way to assign useful and easily rememberable names to data sources which may not be limited to databases alone. In this tutorial we will show you how to connect with a DSN to an Access database called 'examples.mdb' and retrieve all the records from the table 'cars'. Everything is commented so you won't have trouble.

Home » ASP (466)