Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Posts
    66

    Question Unanswered: Is there any 'database midware' like asp script?

    Is there any 'database midware' liked asp script? The following code is 'database midware' class in java, is there any code/script for asp3 (not asp.net) in jscript/vbscript ?
    Code:
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.sql.Connection;
    import java.util.List;
    
    public class ASPD {
        public ASPD() {
        }
    
        private Connection connection;
        private Statement stmt;
        private ResultSet rs;
    
        public void connect(String connectionString) {
            //TODO
        }
    
        public void disconnect() {
            //TODO
        }
    
        public void query(String sql) {
            //TODO
        }
    
        public int update(String sql) {
            //TODO
            return 0;
        }
    
        public boolean execute() {
            //TODO
            return false;
        }
    
        public void preparedQuery(String sql, List parameters) {
            //TODO
        }
    
        public int preparedUpdate(String sql, List parameters) {
            //TODO
            return 0;
        }
    
        public boolean preparedExecute(String sql, List parameters) {
            //TODO
            return false;
        }
    }//EOF
    Any help is thankful.
    Last edited by iqueen; 12-28-04 at 07:26. Reason: miss spelling

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    If you are talking about classes that support data access, you might want to look at Active X Data Objects that come bundled in MDAC.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Aug 2003
    Location
    Delft, The Netherlands (EU)
    Posts
    447
    There are tons of example scripts available, look for example here

    Hope this helps.
    Make everything as simple as possible, but not simpler! - A. Einstein
    DB Problems? DB Explorer, BTrieve Re-engineering, DB Conversions & ETL? Conversion Tool

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •