|
|
Database-related
ASP » Tips and Tutorials » Database-related
A D V E R T I S E M E N T
Today's Special: Get free Magazine from SAP!
MS Access: Tables, Views and ProceduresEver wondered how to create a table, view or procedure with MS Access? This article shows us how to create all three and work with them from an ASP script.
WiredNow.net: SQL Reserved WordsIt is an often problem with database intergration when you use a reserved word. Often asked why a script does not work and it quite often comes down the the author setting a field name as a reserved word, confusing SQL and making debugging hard. To solve this problem here is a quick list of the SQL Reserved Words. Convert to Comma-Delimited File - FreeThis page demonstrates the capabilities how to write an ASCII comma-delimited file from a SQL statement using ASP. Wielding the Power of the DataViewWhen faced with learning a new technology, it's common to try and reproduce the basic functionality you're used to in the old one. In doing that with ADO.NET and trying to reproduce the basics or the recordset object, this article discusses the new and many uses of ADO.NET's DataView object. ASP and DBF database file connection - FreewareCreate a connection to DBF files using JetOLEDB provider (DSN-less, ODBC-less connection), basic work with DBF files (select, insert, update), other ISAM formats + FOXPRO option, real sample code, create a new DBF file. Dynamic Form and Database Driven MarqueeBasically, 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. That is good when you want different color combinations to have communicate different things. Like, black background and red text could mean urgent and blue background* and yellow text could be Happy Birthday! Get the ID of the record enteredHow do I get the Unique ID or Auto ID of the record I just entered? The solution is really quite simple. Access and SQL Server DSN-LESS connectionsThere are a few different ways to connect to an Access database using a DSN-LESS connection. You can use the Access driver, an OLEDB provider connection, a physical path or a virtual path. Here is an example of each as well as a DSN-LESS SQL Server connection. Populate dropdowns from your databaseDropdowns or combo boxes are an excellent way to get input from a user. One of the biggest problems with user input is spelling and formatting. Here is how to use and populate dropdowns from a database. Add records with sql statmentsLearn how to add records with an SQL statement instead of a Recordset. Here are two examples. One will use a query string and the other gets the info from a form. Both examples include an example of a DSN-LESS connection. Edit records with sql statementsLearn how to edit records with an SQL statement instead of a Recordset. Here are two examples. One will use a query string and the other gets the info from a form. Both examples include an example of a DSN-LESS connection. Delete records with sql statementsLearn how to delete records with an SQL instead of a Recordset. Here are two examples. One will use a query string and the other gets the info from a form. Both examples include an example of a DSN-LESS connection. Use an include file for your database connectionUse an include file for your database connection. Here's the reason why. Before I wised up to this, I was placing the connection on every page. Then there were some configuration changes and none of the pages worked. This meant that every page had to be edited. Uploading and inserting files (binary data) to the databaseStep-by-step tutorial on how to upload files (images, text, other documents, etc) using plain ASP pages to the database. Every step has been explained in detail. Downloadable source code available. Displaying binary data from the database using plain ASPStep-by-step tutorial on how to display uploaded binary files from the database using plain ASP pages. Every step has been explained in detail. Downloadable source code available. SQL Reserved WordsMany times people will make the mistake of naming a database field with an SQL Reserved word. This is an easy mistake to make. It's hard to remember every single one. Here's a concise listing of SQL Reserved words to help you along. SQL In Simple English - Part IIThis is the second article in this series. This article mainly deals with SQL Joins and SQL sub-queries. Both of these are extremely useful SQL constructs and should be learnt by all beginners. ASP upload to database or fileTo database or not to database? Test of consumed resources (processor, memory) and results with file upload to database or file system. Test of JetOLEB connection to MDB, test of MSSQL 2000 and AppendChunk method and UPDATE text SQL command. Professional C# 2nd Edition : Data Access with .NET.Complete Online Chapter "Data Access with .NET" from Wrox Press book "Professional C# 2nd Edition". Topics covered include "Connecting to the database", "Executing Commands", "Stored Procedures", "The ADO.NET object model" and "Using XML and XML Schemas". Number of records from databaseThis sample code demonstrates how to pick and display a number of records from an access database.
|
A D V E R T I S E M E N T
|
Subscribe to SourceCodesWorld - Techies Talk |
| |
|