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 ?
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.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.|||There are tons of example scripts available, look for example here (http://www.aspwebpro.com/tutorials/asp/dbconnectionopen.asp)
Hope this helps.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment