|
-
Jul 31st, 2003, 07:13 AM
#1
Thread Starter
Member
JScript & ASP
I jus wanna know >> "Is it possible to connect 2 the DB with JS & if so HOW? & also how to create the objects for recordsets,commands & connection".
-
Aug 4th, 2003, 11:26 AM
#2
Frenzied Member
Yes you can connect to databases with JScript. Similar syntax as VBScript as these object are ASP not specific VBScript.
i.e.
VBScript:
Set objConn = Server.CreateObject("ADODB.Recordset");
JScript:
var objConn
objConn = Server.CreateObject("ADODB.Recordset");
Do a google search for what you want remembering to add JScript and ASP and you should get loads of results.
-
Aug 12th, 2003, 09:48 AM
#3
Addicted Member
Shouldn't this be in the ASP (server-side) forum, and not the JavaScript (client-side) forum.
Oh... wait... you think JScript and JavaScript are the same thing? Oh, that's so funny.
Sorry, I didn't mean to pick.
Travis, Kung Foo Journeyman
Web Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.5 Guide and Reference
Perl: Documentation, Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
OSS: Mozilla, MySQL (Manual)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|