Database-related

Results 1 - 20 of 142

Sort by:

Custom Paging in ASP

This source code displays results dividing to pages. Code provides Next Previous page links with numeric page numbers. You may modify source code to use with MS SQL or MS Access database. For this example, we have used MS SQL Server using sample database...
(show more)

(3.47 out of 5) from 15 Ratings

  • Price: Free
  • Views: 4,945

Using GetRows To Get All Records From Table

Following example, extracts all of the records in a database table and stores into a 2-dimensional array. This gives you an advantages to modify and work on data.

(4.67 out of 5) from 6 Ratings

  • Price: Free
  • Views: 2,154

Compacting an Access database from ASP code

This source code can compact and repair your MS-Access database files. If you compact your access files regularly, it will work more faster and secure. Also you will save some hard disk space.

(4.00 out of 5) from 6 Ratings

  • Price: Free
  • Views: 1,868

Executing Transact-SQL UPDATE statement

In this example, we will edit some records from a database. This source code helps us to edit records to database without slowing down database

(3.17 out of 5) from 6 Ratings

  • Price: Free
  • Views: 2,450

Executing Transact-SQL INSERT statement

In this example, we will add some records to a database. This source code helps us to adding records to database without slowing down database.

(3.00 out of 5) from 3 Ratings

  • Price: Free
  • Views: 2,202

Counting Records In A Database Table

We can count records in a table with these a few lines of codes. First we must send an SQL statement to database engine. Count of records will be first value of resultset.

(3.00 out of 5) from 9 Ratings

  • Price: Free
  • Views: 2,060

Using SUM Function in An SQL Statement

Sum function can be used for to get the sum of a numeric expression evaluated over a set. This function must be placed in an SQL statement. Following example will return the sum of ratings in articles.

(3.00 out of 5) from 6 Ratings

  • Price: Free
  • Views: 1,797

http://www.dotnetindex.com/articles/2176-Filling-Data-into-Select-List.asp

In this short ASP source code, we will pull some data from a database and fill it into a select list. We will create a custom and dynamic output.

  • Price: Free
  • Views: 1,672

Selecting random record from database

This ASP source code describes a short way to select a record from database. First we need to calculate how many records we have in our table. Using randomize function, we generate a random number between 0 to count of records in database. Last part...
(show more)

  • Price: Free
  • Views: 941

Counting Records in SQL Script

Sometimes we worry about limits of database table and we need to know how manay recods we have. In ASP we could count all recods using a loop. But if we have a small piece of knowledge about SQL script, our script works better and faster.

  • Price: Free
  • Views: 895

Executing Transact-SQL DELETE statement

In this example, we will delete some records from a database. This source code helps us to deleting records to database without slowing down database.

  • Price: Free
  • Views: 1,359

Accessing Database from ASP

This tutorial shows you step-by-step how to incorporate MS Access databases into your web site using ASP.

(4.33 out of 5) from 10 Ratings

  • Price: Free
  • Views: 18,053

Import text file to MS Access

This article will explain how to import the contents of a text file (.txt) to an Access Database when using MS text or OLE DB Drivers wont do! We will be using the FileSystem and TextStream objects in this article!

(4.13 out of 5) from 13 Ratings

  • Price: Free
  • Views: 1,373

Dynamic Form and Database Driven Marquee

Basically, I had the problem of needing a marquee to scroll important updates but everyone who needed to update it was not HTML savvy. So I made it form based. And the coolest part about it is, you can control the background color, and the text color....
(show more)

(4.33 out of 5) from 4 Ratings

  • Price: Free
  • Views: 2,881

Display Table on Web Page

This page demonstrates the capabilities how to display a table from a SQL statement. It illustrates not only how to display the table, but also how to detect that no records were returned from a query, and how to detect null and blank values in the data.

(4.00 out of 5) from 1 Rating

  • Price: Free
  • Views: 2,217

How to delete database record in ASP - 3 simple steps

This tutorial shows how to delete database records using just the Connection Object, without the need to create a Recordset Object. Moreover, it explains why using a Recordset is bad practice for queries such as INSERT, UPDATE and DELETE.

(3.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 410

How to update a database record in ASP

Selecting, deleting and inserting database records is part and parcel of dynamic web development...be it ASP, PHP, Python, whatever.....and of course, add to that list updating records.....But how to do it in Classic ASP?....well, I'm about to show you...
(show more)

  • Price: Free
  • Views: 457

Compact MS Access Database using ASP

Tutorial and ASP code to compact MS Access Database just 1 file.

  • Price: Free
  • Views: 729

Faster Singleton Queries with ADO

It is very common operation to request one field of information via a database query. This is called a singleton query. ADO.Net has specific functions for singleton queries, but not ADO (ActiveX Data Objects). This article describes how to use an ADO...
(show more)

  • Price: Free
  • Views: 876

ASP Speed Tricks

This article describes practical methods of optimizing the performance of ASP pages which retrieve and display tabular data from a database. Test results of each coding technique show the potential for dramatic speedups of dynamic web pages.

(2.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 2,771
<< previous
 ( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8next >>