Click here to Skip to main content
12,701,314 members (37,390 online)
Click here to Skip to main content
Articles » Database » Database » General » Downloads


59 bookmarked

Online DB Administration

, 17 Mar 2003
Online administration of your database. Create or modify tables, keys, and indexes. Edit or insert data.
<script language=javascript runat=server>
function Config(arg) {
	switch(arg.toLowerCase()) {
	case 'title':		return 'DB Admin 2.0.0 Beta';
	case 'connstr':		return 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' + Config('database');
	case 'database':	return Server.MapPath('/database/mydb.mdb');
	//case 'connstr':	return 'Provider=SQLOLEDB.1;User ID=sa;Password=;Initial Catalog=mydb;Data Source=(local)';
	//case 'database':	return 'mydb';
	case 'locale':		return 'no';	// 'en', 'en-us', ...
	default:			throw new Error('Unknown config argument ' + arg);

function CheckSecurity() {
	if(""+Request.ServerVariables("AUTH_USER")=="") {
		ErrorOut('<span style="color:red;font-weight:bold">Access Denied</span>');
		Response.Status = '401 Access Denied';


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Bjornar Henden
Web Developer
Norway Norway
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 18 Mar 2003
Article Copyright 2002 by Bjornar Henden
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid