Click here to Skip to main content
Licence 
First Posted 22 Sep 2002
Views 180,058
Bookmarked 56 times

Online DB Administration

By | 17 Mar 2003 | Article
Online administration of your database. Create or modify tables, keys, and indexes. Edit or insert data.

Sample Image - netdb.gif

Introduction

This is an application for online administration of your database.

Features

  • Supports MS SQL Server (not completely) and MS Access.
  • Create, modify, and drop tables and views.
  • Create and drop keys (primary, foreign, and unique).
  • Create and drop indexes.
  • Edit, insert, and duplicate rows in tables.
  • Foreign keys are used to create filters/lookups when browsing and editing data.
  • Export tables and views to a CSV file.

Installation

  1. Unzip all files to a directory available from your web server.
  2. Modify config.asp to point to your database.

History

Feb 27 2003

  • Included adojavas.inc since a few seems to have problem with metadata and global.asa.
  • Lots of minor changes and bug fixes.

Mar 18 2003

  • Updated source code.

License

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

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralMicrosoft Jet Database Engine (0*80040E14) PinmemberKruthika22:40 21 Apr '08  
Hai,...
I have designed a coding to accept the information from the user(i.e., user Name, staffno and comments) and to store the same input into Access database.But when I clickon sumbit button I am getting the following error:
 
Error type :
Microsoft Jet Database Engine (0*80040E14)
Number of querty values and the desatination feilds are not the same
/report/formreport.asp,Line 29
---------------------------------------------------------------------------------------------------------------------------------------------------------
The coding is shown below
 

 
<html>
<% @LANGUAGE="VBScript" %>
<body>
<%
' Declaring variables
Dim username, userstaffno, usercomments, data_source, con, sql_insert
 
' A Function to check if some field entered by user is empty
Function ChkString(string)
If string = "" Then string = " "
ChkString = Replace(string, "'", "''")
End Function
 
' Receiving values from Form
username = ChkString(Request.Form("username"))
userstaffno = ChkString(Request.Form("userstaffno"))
usercomments = ChkString(Request.Form("usercomments"))
 

data_source = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" &_
Server.MapPath("formreport.mdb")
 
sql_insert = "insert into formreport (username,userstaffno,usercomments)"
sql_insert = sql_insert & " values (' " & Request.Form("username") & " ' , ' " & Request.Form("userstaffno") & " ' , ' " & Request.Form("usercomments") & " ' , ' " & " ' )"

' Creating Connection Object and opening the database
Set con = Server.CreateObject("ADODB.Connection")
con.Open data_source
con.Execute sql_insert

' Done. Close the connection
con.Close
Set con = Nothing
Set sql_insert = Nothing
Response.Write "All records were successfully entered into the database."
%>
</body>
</html>
 

Please help me
Thanks in advance
Generalupdate a database Pinmemberkashmeera1:17 25 Dec '06  
GeneralCheckSecurity() Pinmemberspencersface22:14 24 Sep '06  
GeneralEditing a row [modified] Pinmemberspencersface17:08 24 Sep '06  
QuestionWhat a password? Pinmemberssl77920:01 9 Jul '06  
Generali need asp notes Pinsussshahid abbas22:19 30 Aug '05  
GeneralError on update Pinmemberandymilli9:08 6 Feb '05  
GeneralPage contains both secure and nonsecure items PinmemberShadowkn11:34 19 Feb '04  
QuestionCannot add record if table is empty? PinsussRui Silva 14:42 19 Nov '03  
Generalremote administration for this app Pinmemberyanra1:27 27 Oct '03  
GeneralPls help me...to fix this foreign key problem listbox problem Pinmemberwysste18:27 4 Aug '03  
GeneralResponse object error 'ASP 0156 : 80004005' Pinmemberwysste17:58 28 Jul '03  
Generalwindows98,microsoft SQL Server 7.0 Pinmemberwysste18:17 4 Aug '03  
GeneralJavaScript Runtime errors Pinmembersimonfunston23:20 9 Jul '03  
Generalcan't look up the table if use Oracle Pinmemberfauzy7:13 3 Jun '03  
Generalerror in config, needs help. Pinmembervjkumar9:56 14 May '03  
GeneralEdit disabled PinmemberMaPi0:28 12 May '03  
QuestionHow can I use VBScript to load a BGrid? Pinmembercive1em9:52 24 Apr '03  
AnswerRe: How can I use VBScript to load a BGrid? Pinmembercive1em10:11 24 Apr '03  
Generalunuseful under .NET, OBSOLETE Pinmemberandré_k3:03 21 Mar '03  
GeneralRe: unuseful under .NET, OBSOLETE PinmemberBjornar Henden5:47 21 Mar '03  
Generaltrue/false yes/no fields PinmemberBill McGhee10:48 4 Mar '03  
GeneralRe: true/false yes/no fields PinmemberBjornar Henden22:17 16 Mar '03  
GeneralRe: true/false yes/no fields PinmemberBill McGhee2:36 25 Mar '03  
GeneralAccess Denied error Pinsusstvde0:13 4 Mar '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

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